🐛 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": {
|
||||
"exec-if": "which wttrbar",
|
||||
"exec": "wttrbar --location Alicante",
|
||||
"restart-interval": 300,
|
||||
"tooltip": true,
|
||||
"format": "{}°",
|
||||
"return-type": "json",
|
||||
"on-click": "kitty --hold --class center-float wttr Alicante",
|
||||
"on-click-right": "kitty --hold --class center-float wttr -v2 Alicante",
|
||||
"on-click": "kitty --hold --class center-float fish -c 'wttr Alicante'",
|
||||
"on-click-right": "kitty --hold --class center-float fish -c 'wttr -v2 Alicante'",
|
||||
"on-click-middle": "xdg-open https://wttr.in/alicante",
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue