Add swaync notification widget to waybar, remove dunst remnants
custom/notification (swaync-client) was defined but not in the module list. Replaces the removed custom/dnd (dunstctl) slot.
This commit is contained in:
parent
8c7e9407c6
commit
7f509eff95
@ -30,7 +30,7 @@
|
||||
"gamemode",
|
||||
//"custom/updates",
|
||||
"idle_inhibitor",
|
||||
|
||||
"custom/notification",
|
||||
"privacy"
|
||||
]
|
||||
},
|
||||
@ -203,22 +203,22 @@
|
||||
"on-click": "alacritty paru"
|
||||
},
|
||||
"custom/notification": {
|
||||
"tooltip": false,
|
||||
"format": "{icon} {}",
|
||||
"tooltip": true,
|
||||
"format": "<span size='16pt'>{icon}</span>",
|
||||
"format-icons": {
|
||||
"notification": "",
|
||||
"notification": "",
|
||||
"none": "",
|
||||
"dnd-notification": "",
|
||||
"dnd-none": "",
|
||||
"inhibited-notification": "",
|
||||
"inhibited-none": "",
|
||||
"dnd-notification": "",
|
||||
"dnd-none": "",
|
||||
"inhibited-notification": "",
|
||||
"inhibited-none": "",
|
||||
"dnd-inhibited-notification": "",
|
||||
"dnd-inhibited-none": ""
|
||||
"dnd-inhibited-none": ""
|
||||
},
|
||||
"return-type": "json",
|
||||
"exec-if": "which swaync-client",
|
||||
"exec": "swaync-client -swb",
|
||||
"on-click": "sh -c 'sleep 0.1s; swaync-client -t -sw; sleep 0.1s'",
|
||||
"on-click": "swaync-client -t -sw",
|
||||
"on-click-right": "swaync-client -d -sw",
|
||||
"escape": true
|
||||
},
|
||||
|
||||
@ -57,7 +57,7 @@ window#waybar {
|
||||
#cava,
|
||||
#custom-gpu-usage,
|
||||
#custom-cpugov,
|
||||
#custom-dnd,
|
||||
|
||||
#power-profiles-daemon,
|
||||
#privacy,
|
||||
#gamemode,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user