🐛 fix(waybar): weather module loads of wttr-bar is on $PATH

This commit is contained in:
Sergio Laín 2024-08-29 19:27:08 +02:00
parent 9888625eca
commit 40ef2e03d1
No known key found for this signature in database
GPG key ID: 8429B2EE312F8150

View file

@ -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",
},
}