Waybar: Move modules scripts to .config/waybar directory.

This commit is contained in:
Viyurz 2024-03-06 16:15:03 +01:00
parent 67bb820002
commit e558019a62
Signed by: Viyurz
SSH key fingerprint: SHA256:IskOHTmhHSJIvAt04N6aaxd5SZCVWW1Guf9tEcxIMj8
6 changed files with 7 additions and 7 deletions

View file

@ -35,9 +35,9 @@
"spacing": 8 "spacing": 8
}, },
"custom/dnd-toggle": { "custom/dnd-toggle": {
"exec": "$HOME/.scripts/waybar-dnd-toggle.sh --no-toggle", "exec": "$HOME/.config/waybar/dnd-toggle.sh --no-toggle",
"interval": "once", "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, "signal": 2,
"tooltip": false, "tooltip": false,
"return-type": "json", "return-type": "json",
@ -48,9 +48,9 @@
} }
}, },
"custom/pkg-update-count": { "custom/pkg-update-count": {
"exec": "$HOME/.scripts/waybar-pkg-update-count.sh", "exec": "$HOME/.config/waybar/pkg-update-count.sh",
"interval": 3600, "interval": 3600,
"on-click": "$HOME/.scripts/waybar-pkg-update-count.sh", "on-click": "$HOME/.config/waybar/pkg-update-count.sh",
"signal": 3, "signal": 3,
"return-type": "json", "return-type": "json",
"format": "{icon} {}", "format": "{icon} {}",
@ -175,7 +175,7 @@
"tooltip-format": "{timeTo}\nPower draw: {power}W" "tooltip-format": "{timeTo}\nPower draw: {power}W"
}, },
"custom/gpu-temp": { "custom/gpu-temp": {
"exec": "$HOME/.scripts/waybar-gpu-temp.sh", "exec": "$HOME/.config/waybar/gpu-temp.sh",
"interval": 5, "interval": 5,
"return-type": "json", "return-type": "json",
"format": "{icon} {}", "format": "{icon} {}",
@ -187,7 +187,7 @@
} }
}, },
"custom/gpu-usage": { "custom/gpu-usage": {
"exec": "$HOME/.scripts/waybar-gpu-usage.sh", "exec": "$HOME/.config/waybar/gpu-usage.sh",
"return-type": "json", "return-type": "json",
"format": "󰢮 {}", "format": "󰢮 {}",
"interval" : 5 "interval" : 5
@ -197,7 +197,7 @@
"interval": 5 "interval": 5
}, },
"custom/cpu-temp": { "custom/cpu-temp": {
"exec": "$HOME/.scripts/waybar-cpu-temp.sh", "exec": "$HOME/.config/waybar/cpu-temp.sh",
"interval": 5, "interval": 5,
"return-type": "json", "return-type": "json",
"format": "{icon} {}", "format": "{icon} {}",