display weather
This commit is contained in:
parent
864d08b447
commit
575be7c986
3 changed files with 6 additions and 3 deletions
|
@ -4,7 +4,6 @@ set $left h
|
||||||
set $down j
|
set $down j
|
||||||
set $up k
|
set $up k
|
||||||
set $right l
|
set $right l
|
||||||
set $menu wmenu-run
|
|
||||||
|
|
||||||
# Idle
|
# Idle
|
||||||
for_window [class=".*"] inhibit_idle fullscreen
|
for_window [class=".*"] inhibit_idle fullscreen
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"margin":4,
|
"margin":4,
|
||||||
"modules-left":["sway/workspaces","sway/mode"],
|
"modules-left":["sway/workspaces","sway/mode"],
|
||||||
"modules-center":["mpris"],
|
"modules-center":["mpris"],
|
||||||
"modules-right":["privacy","network#warp","network#wifi","wireplumber","backlight","battery","clock","tray"],
|
"modules-right":["privacy","custom/weather","network#warp","network#wifi","wireplumber","backlight","battery","clock","tray"],
|
||||||
"sway/workspaces":{
|
"sway/workspaces":{
|
||||||
"format":"{value} <span size='smaller'>{windows}</span>",
|
"format":"{value} <span size='smaller'>{windows}</span>",
|
||||||
"format-window-separator":" | ",
|
"format-window-separator":" | ",
|
||||||
|
@ -23,6 +23,10 @@
|
||||||
"format":"{dynamic}",
|
"format":"{dynamic}",
|
||||||
"tooltip":false
|
"tooltip":false
|
||||||
},
|
},
|
||||||
|
"custom/weather":{
|
||||||
|
"interval":600,
|
||||||
|
"exec":"curl 'https://wttr.in/?m&format=%C+(%t)'"
|
||||||
|
},
|
||||||
"network#warp":{
|
"network#warp":{
|
||||||
"interval":5,
|
"interval":5,
|
||||||
"format":"warp ",
|
"format":"warp ",
|
||||||
|
|
|
@ -4,7 +4,7 @@ window#waybar{
|
||||||
background-color:transparent;
|
background-color:transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button,#mode,#mpris,#privacy,#network,#temperature,#wireplumber,#backlight,#battery,#clock{
|
#workspaces button,#mode,#mpris,#privacy,#custom-weather,#network,#temperature,#wireplumber,#backlight,#battery,#clock{
|
||||||
background-color:silver;
|
background-color:silver;
|
||||||
color:black;
|
color:black;
|
||||||
border-radius:10px;
|
border-radius:10px;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue