🐛 fix(waybar): weather module loads of wttr-bar is on $PATH
This commit is contained in:
parent
9888625eca
commit
40ef2e03d1
1 changed files with 3 additions and 2 deletions
|
@ -1,12 +1,13 @@
|
||||||
{
|
{
|
||||||
"custom/weather": {
|
"custom/weather": {
|
||||||
|
"exec-if": "which wttrbar",
|
||||||
"exec": "wttrbar --location Alicante",
|
"exec": "wttrbar --location Alicante",
|
||||||
"restart-interval": 300,
|
"restart-interval": 300,
|
||||||
"tooltip": true,
|
"tooltip": true,
|
||||||
"format": "{}°",
|
"format": "{}°",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"on-click": "kitty --hold --class center-float wttr Alicante",
|
"on-click": "kitty --hold --class center-float fish -c 'wttr Alicante'",
|
||||||
"on-click-right": "kitty --hold --class center-float wttr -v2 Alicante",
|
"on-click-right": "kitty --hold --class center-float fish -c 'wttr -v2 Alicante'",
|
||||||
"on-click-middle": "xdg-open https://wttr.in/alicante",
|
"on-click-middle": "xdg-open https://wttr.in/alicante",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue