From d94e6ebf1d4a459ee43533a948f4f6913bf5c956 Mon Sep 17 00:00:00 2001 From: Tibo De Peuter Date: Wed, 8 Oct 2025 10:09:05 +0200 Subject: [PATCH] fix(waybar): Use SCRIPT_DIR envvar --- stow/waybar/.config/waybar/modules.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/stow/waybar/.config/waybar/modules.json b/stow/waybar/.config/waybar/modules.json index 447f9ba..6cec15d 100644 --- a/stow/waybar/.config/waybar/modules.json +++ b/stow/waybar/.config/waybar/modules.json @@ -122,10 +122,10 @@ }, "custom/toggle-light-dark": { - "exec": "bash ~/projects/sisyphus/scripts/toggle-light-dark.sh -g", + "exec": "bash ${SCRIPT_DIR}/toggle-light-dark.sh -g", "interval": 60, "return-type": "json", - "on-click": "bash ~/projects/sisyphus/scripts/toggle-light-dark.sh", + "on-click": "bash ${SCRIPT_DIR}/toggle-light-dark.sh", "format": "{icon}", "format-icons": { "default": "\uf185", @@ -135,10 +135,10 @@ }, "custom/toggle-notifications": { - "exec": "bash ~/projects/sisyphus/scripts/toggle-notifications.sh -g", + "exec": "bash ${SCRIPT_DIR}/toggle-notifications.sh -g", "interval": 60, "return-type": "json", - "on-click": "bash ~/projects/sisyphus/scripts/toggle-notifications.sh", + "on-click": "bash ${SCRIPT_DIR}/toggle-notifications.sh", "format": "{icon}", "format-icons": { "normal": "\uf0f3", /*  */ @@ -148,10 +148,10 @@ }, "custom/toggle-tailscale": { - "exec": "bash ~/projects/sisyphus/scripts/toggle-tailscale.sh -g", + "exec": "bash ${SCRIPT_DIR}/toggle-tailscale.sh -g", "interval": 60, "return-type": "json", - "on-click": "bash ~/projects/sisyphus/scripts/toggle-tailscale.sh", + "on-click": "bash ${SCRIPT_DIR}/toggle-tailscale.sh", "format": "{icon}", "format-icons": { "disconnected": "\ue50b",