Waybar: Reorded DND toggle module in config.
This commit is contained in:
parent
d3bf97fcbe
commit
67bb820002
1 changed files with 13 additions and 13 deletions
|
@ -34,6 +34,19 @@
|
|||
// "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",
|
||||
"interval": 3600,
|
||||
|
@ -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}",
|
||||
|
|
Loading…
Reference in a new issue