From 7f509eff952ba883e8be9d9698de88fa62c6acc1 Mon Sep 17 00:00:00 2001 From: nevaforget Date: Wed, 1 Apr 2026 14:43:28 +0200 Subject: [PATCH] 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. --- defaults/xdg/waybar/config | 20 ++++++++++---------- defaults/xdg/waybar/style.css | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/defaults/xdg/waybar/config b/defaults/xdg/waybar/config index cfa79c7..bb214c3 100644 --- a/defaults/xdg/waybar/config +++ b/defaults/xdg/waybar/config @@ -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": "{icon}", "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 }, diff --git a/defaults/xdg/waybar/style.css b/defaults/xdg/waybar/style.css index b1fa8b1..d6e4711 100644 --- a/defaults/xdg/waybar/style.css +++ b/defaults/xdg/waybar/style.css @@ -57,7 +57,7 @@ window#waybar { #cava, #custom-gpu-usage, #custom-cpugov, -#custom-dnd, + #power-profiles-daemon, #privacy, #gamemode,