From e558019a626ef281a399517d2e9b5e346407cddb Mon Sep 17 00:00:00 2001 From: Viyurz Date: Wed, 6 Mar 2024 16:15:03 +0100 Subject: [PATCH] Waybar: Move modules scripts to .config/waybar directory. --- .config/waybar/config | 14 +++++++------- .../waybar/cpu-temp.sh | 0 .../waybar/dnd-toggle.sh | 0 .../waybar/gpu-temp.sh | 0 .../waybar/gpu-usage.sh | 0 .../waybar/pkg-update-count.sh | 0 6 files changed, 7 insertions(+), 7 deletions(-) rename .scripts/waybar-cpu-temp.sh => .config/waybar/cpu-temp.sh (100%) rename .scripts/waybar-dnd-toggle.sh => .config/waybar/dnd-toggle.sh (100%) rename .scripts/waybar-gpu-temp.sh => .config/waybar/gpu-temp.sh (100%) rename .scripts/waybar-gpu-usage.sh => .config/waybar/gpu-usage.sh (100%) rename .scripts/waybar-pkg-update-count.sh => .config/waybar/pkg-update-count.sh (100%) diff --git a/.config/waybar/config b/.config/waybar/config index 7502d33..acb036f 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -35,9 +35,9 @@ "spacing": 8 }, "custom/dnd-toggle": { - "exec": "$HOME/.scripts/waybar-dnd-toggle.sh --no-toggle", + "exec": "$HOME/.config/waybar/dnd-toggle.sh --no-toggle", "interval": "once", - "on-click": "$HOME/.scripts/waybar-dnd-toggle.sh; pkill -SIGRTMIN+2 waybar", + "on-click": "$HOME/.config/waybar/dnd-toggle.sh; pkill -SIGRTMIN+2 waybar", "signal": 2, "tooltip": false, "return-type": "json", @@ -48,9 +48,9 @@ } }, "custom/pkg-update-count": { - "exec": "$HOME/.scripts/waybar-pkg-update-count.sh", + "exec": "$HOME/.config/waybar/pkg-update-count.sh", "interval": 3600, - "on-click": "$HOME/.scripts/waybar-pkg-update-count.sh", + "on-click": "$HOME/.config/waybar/pkg-update-count.sh", "signal": 3, "return-type": "json", "format": "{icon} {}", @@ -175,7 +175,7 @@ "tooltip-format": "{timeTo}\nPower draw: {power}W" }, "custom/gpu-temp": { - "exec": "$HOME/.scripts/waybar-gpu-temp.sh", + "exec": "$HOME/.config/waybar/gpu-temp.sh", "interval": 5, "return-type": "json", "format": "{icon} {}", @@ -187,7 +187,7 @@ } }, "custom/gpu-usage": { - "exec": "$HOME/.scripts/waybar-gpu-usage.sh", + "exec": "$HOME/.config/waybar/gpu-usage.sh", "return-type": "json", "format": "󰢮 {}", "interval" : 5 @@ -197,7 +197,7 @@ "interval": 5 }, "custom/cpu-temp": { - "exec": "$HOME/.scripts/waybar-cpu-temp.sh", + "exec": "$HOME/.config/waybar/cpu-temp.sh", "interval": 5, "return-type": "json", "format": "{icon} {}", diff --git a/.scripts/waybar-cpu-temp.sh b/.config/waybar/cpu-temp.sh similarity index 100% rename from .scripts/waybar-cpu-temp.sh rename to .config/waybar/cpu-temp.sh diff --git a/.scripts/waybar-dnd-toggle.sh b/.config/waybar/dnd-toggle.sh similarity index 100% rename from .scripts/waybar-dnd-toggle.sh rename to .config/waybar/dnd-toggle.sh diff --git a/.scripts/waybar-gpu-temp.sh b/.config/waybar/gpu-temp.sh similarity index 100% rename from .scripts/waybar-gpu-temp.sh rename to .config/waybar/gpu-temp.sh diff --git a/.scripts/waybar-gpu-usage.sh b/.config/waybar/gpu-usage.sh similarity index 100% rename from .scripts/waybar-gpu-usage.sh rename to .config/waybar/gpu-usage.sh diff --git a/.scripts/waybar-pkg-update-count.sh b/.config/waybar/pkg-update-count.sh similarity index 100% rename from .scripts/waybar-pkg-update-count.sh rename to .config/waybar/pkg-update-count.sh