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

View File

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