diff --git a/waybar/config.template b/waybar/config.template index cb8a38ef9..be9013051 100644 --- a/waybar/config.template +++ b/waybar/config.template @@ -67,8 +67,9 @@ //}, "custom/weather": { "interval": 600, - "on-click": "${HOME}/scripts/waybar/waybar-weather.pl notify", - "exec": "${HOME}/scripts/waybar/waybar-weather.pl bar" + "return-type": "json", + "on-click": "xdg-open https://john.me.tz/weather/forecast", + "exec": "${HOME}/scripts/waybar/waybar-weather.sh" }, "cpu": { "format": " {usage}%",