diff --git a/waybar/config.template b/waybar/config.template index f7b0f80d2..938761639 100644 --- a/waybar/config.template +++ b/waybar/config.template @@ -172,6 +172,27 @@ "exec": "${HOME}/scripts/waybar/waybar-gammastep.sh", "on-click": "${HOME}/scripts/waybar/waybar-gammastep.sh toggle" }, + "custom/nc": { + "on-click": "swaync-client -t", + "tooltip": true, + "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", + "escape": true + }, "custom/clock": { "interval": 60, "on-click": "${HOME}/.local/bin/firefox/firefox-bin https://papillon.john.me.tz/calendar.php",