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",
|
"gamemode",
|
||||||
//"custom/updates",
|
//"custom/updates",
|
||||||
"idle_inhibitor",
|
"idle_inhibitor",
|
||||||
|
"custom/notification",
|
||||||
"privacy"
|
"privacy"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -203,22 +203,22 @@
|
|||||||
"on-click": "alacritty paru"
|
"on-click": "alacritty paru"
|
||||||
},
|
},
|
||||||
"custom/notification": {
|
"custom/notification": {
|
||||||
"tooltip": false,
|
"tooltip": true,
|
||||||
"format": "{icon} {}",
|
"format": "<span size='16pt'>{icon}</span>",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"notification": "",
|
"notification": "",
|
||||||
"none": "",
|
"none": "",
|
||||||
"dnd-notification": "",
|
"dnd-notification": "",
|
||||||
"dnd-none": "",
|
"dnd-none": "",
|
||||||
"inhibited-notification": "",
|
"inhibited-notification": "",
|
||||||
"inhibited-none": "",
|
"inhibited-none": "",
|
||||||
"dnd-inhibited-notification": "",
|
"dnd-inhibited-notification": "",
|
||||||
"dnd-inhibited-none": ""
|
"dnd-inhibited-none": ""
|
||||||
},
|
},
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec-if": "which swaync-client",
|
"exec-if": "which swaync-client",
|
||||||
"exec": "swaync-client -swb",
|
"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",
|
"on-click-right": "swaync-client -d -sw",
|
||||||
"escape": true
|
"escape": true
|
||||||
},
|
},
|
||||||
|
|||||||
@ -57,7 +57,7 @@ window#waybar {
|
|||||||
#cava,
|
#cava,
|
||||||
#custom-gpu-usage,
|
#custom-gpu-usage,
|
||||||
#custom-cpugov,
|
#custom-cpugov,
|
||||||
#custom-dnd,
|
|
||||||
#power-profiles-daemon,
|
#power-profiles-daemon,
|
||||||
#privacy,
|
#privacy,
|
||||||
#gamemode,
|
#gamemode,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user