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:
nevaforget 2026-04-01 14:43:28 +02:00
parent 8c7e9407c6
commit 7f509eff95
2 changed files with 11 additions and 11 deletions

View File

@ -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
},

View File

@ -57,7 +57,7 @@ window#waybar {
#cava,
#custom-gpu-usage,
#custom-cpugov,
#custom-dnd,
#power-profiles-daemon,
#privacy,
#gamemode,