From 114572fac49480536d2b7c3c600b048aa8ff7585 Mon Sep 17 00:00:00 2001 From: John Mertz Date: Tue, 15 Oct 2024 18:47:27 -0600 Subject: [PATCH] bash weather script --- waybar/config.template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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}%",