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
|
@ -33,6 +33,19 @@
|
||||||
"tray": {
|
"tray": {
|
||||||
// "icon-size": 21,
|
// "icon-size": 21,
|
||||||
"spacing": 8
|
"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": {
|
"custom/pkg-update-count": {
|
||||||
"exec": "$HOME/.scripts/waybar-pkg-update-count.sh",
|
"exec": "$HOME/.scripts/waybar-pkg-update-count.sh",
|
||||||
|
@ -105,19 +118,6 @@
|
||||||
"format-source": " {volume}%",
|
"format-source": " {volume}%",
|
||||||
"format-source-muted": " {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": {
|
"mpris": {
|
||||||
"interval": 2,
|
"interval": 2,
|
||||||
"format": " {status_icon} {title}",
|
"format": " {status_icon} {title}",
|
||||||
|
|
Loading…
Reference in a new issue