Waybar: Reorded DND toggle module in config.

This commit is contained in:
Viyurz 2024-03-06 16:06:28 +01:00
parent d3bf97fcbe
commit 67bb820002
Signed by: Viyurz
SSH key fingerprint: SHA256:IskOHTmhHSJIvAt04N6aaxd5SZCVWW1Guf9tEcxIMj8

View file

@ -33,6 +33,19 @@
"tray": {
// "icon-size": 21,
"spacing": 8
},
"custom/dnd-toggle": {
"exec": "$HOME/.scripts/waybar-dnd-toggle.sh --no-toggle",
"interval": "once",
"on-click": "$HOME/.scripts/waybar-dnd-toggle.sh; pkill -SIGRTMIN+2 waybar",
"signal": 2,
"tooltip": false,
"return-type": "json",
"format": "{icon} NF",
"format-icons": {
"dnd-enabled": "󰂛",
"dnd-disabled": "󰂚"
}
},
"custom/pkg-update-count": {
"exec": "$HOME/.scripts/waybar-pkg-update-count.sh",
@ -105,19 +118,6 @@
"format-source": "󰍬 {volume}%",
"format-source-muted": "󰍭 {volume}%"
},
"custom/dnd-toggle": {
"exec": "$HOME/.scripts/waybar-dnd-toggle.sh --no-toggle",
"interval": "once",
"on-click": "$HOME/.scripts/waybar-dnd-toggle.sh; pkill -SIGRTMIN+2 waybar",
"signal": 2,
"tooltip": false,
"return-type": "json",
"format": "{icon} NF",
"format-icons": {
"dnd-enabled": "󰂛",
"dnd-disabled": "󰂚"
}
},
"mpris": {
"interval": 2,
"format": " {status_icon} {title}",