diff --git a/home/modules/waybar.nix b/home/modules/waybar.nix
index 8543849..d5597c3 100644
--- a/home/modules/waybar.nix
+++ b/home/modules/waybar.nix
@@ -33,6 +33,7 @@ in
"backlight"
"pulseaudio"
"battery"
+ "custom/notification"
];
"niri/worksapces" = { };
@@ -120,6 +121,21 @@ in
};
tooltip-format = "{calendar}";
};
+ "custom/notification" = {
+ "tooltip" = false;
+ "format" = "{icon}";
+ "format-icons" = {
+ "notification" = "";
+ "none" = "";
+ "dnd-notification" = "";
+ "dnd-none" = "";
+ };
+ "return-type" = "json";
+ "exec" = "swaync-client -swb";
+ "on-click" = "swaync-client -t -sw";
+ "on-click-right" = "swaync-client -d -sw";
+ "escape" = true;
+ };
}
];
style = ''
@@ -134,6 +150,7 @@ in
color: @theme_text_color;
}
+ #custom-notification,
#workspaces,
#taskbar button,
#mode,