diff --git a/sway/config b/sway/config index acf605d..1afaa0e 100644 --- a/sway/config +++ b/sway/config @@ -90,9 +90,9 @@ bindgesture hold:4 exec swaylock bindsym --locked XF86AudioPrev exec playerctl previous bindsym --locked XF86AudioPlay exec playerctl play-pause bindsym --locked XF86AudioNext exec playerctl next -bindsym --locked Mod4+up exec playerctl previous bindsym --locked Mod4+space exec playerctl play-pause -bindsym --locked Mod4+down exec playerctl next +bindsym --locked Mod4+up exec playerctl next +bindsym --locked Mod4+down exec playerctl previous bindsym --locked Mod4+left exec playerctl position 10- bindsym --locked Mod4+right exec playerctl position 10+ diff --git a/waybar/config.jsonc b/waybar/config.jsonc index ba948fc..7c8c155 100644 --- a/waybar/config.jsonc +++ b/waybar/config.jsonc @@ -21,14 +21,11 @@ "mpris":{ "interval":1, "format":"{dynamic}", - "dynamic-len":44, - "dynamic-importance-order":["title","position","length","artist","album"], "tooltip":false }, "custom/weather":{ "interval":600, - "return-type":"json", - "exec":"~/.config/waybar/scripts/wttr.sh" + "exec":"curl 'https://wttr.in/?m&format=%C+(%t)'" }, "network#warp":{ "interval":5, diff --git a/waybar/scripts/wttr.sh b/waybar/scripts/wttr.sh deleted file mode 100755 index 9f91d2b..0000000 --- a/waybar/scripts/wttr.sh +++ /dev/null @@ -1,3 +0,0 @@ -wttr=$(curl -s "https://wttr.in/Louisville?m&format=%t") -tooltip=$(curl -s "https://wttr.in/Louisville?m&format=%C:RealFeel+%f:UV+Index+%u:Precip.+%p:Wind+%w"|sed 's/:/\\n/g') -echo -E "{\"text\":\"$wttr\",\"tooltip\":\"$tooltip\"}"