diff --git a/dot_config/waybar/config b/dot_config/waybar/config index 06246a1..8027537 100644 --- a/dot_config/waybar/config +++ b/dot_config/waybar/config @@ -31,6 +31,7 @@ "battery", "battery#bat2", "tray", + "custom/notification", "custom/wvkbd" ], // Modules configuration @@ -255,5 +256,25 @@ "default": "" }, "on-click": "pkill --signal SIGRTMIN wvkbd-mobintl" - } + }, + "custom/notification": { + "tooltip": false, + "format": "{} {icon}", + "format-icons": { + "notification": "", + "none": "", + "dnd-notification": "", + "dnd-none": "", + "inhibited-notification": "", + "inhibited-none": "", + "dnd-inhibited-notification": "", + "dnd-inhibited-none": "" + }, + "return-type": "json", + "exec-if": "which swaync-client", + "exec": "swaync-client -swb", + "on-click": "swaync-client -t -sw", + "on-click-right": "swaync-client -d -sw", + "escape": true + } } diff --git a/dot_config/waybar/style.css b/dot_config/waybar/style.css index 87bfd5b..8320ebd 100644 --- a/dot_config/waybar/style.css +++ b/dot_config/waybar/style.css @@ -26,9 +26,11 @@ window#waybar.solo { } */ +/* window#waybar.termite { background-color: #3F3F3F; } +*/ window#waybar.chromium { background-color: #000000; @@ -93,6 +95,7 @@ button:hover { #custom-wl-gammarelay-gamma, #custom-events, #custom-wvkbd, +#custom-notification, #mpd { padding: 0 10px; color: #ffffff; @@ -168,7 +171,8 @@ label:focus { background-color: #90b1b1; } -#custom-wvkbd { +#custom-wvkbd, +#custom-notification { background-color: #2980b9; }