diff --git a/.config/sway/config b/.config/sway/config
index 2f79a51..f4ade70 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -22,7 +22,10 @@ set $term foot
set $menu rofi -show drun
# start notification deamon
-exec mako
+exec swaync
+
+# add keybinding to toggle swaync notification center
+bindsym $mod+Shift+n exec swaync-client -t -sw
### Output configuration
#
diff --git a/.config/waybar/config b/.config/waybar/config
index 3100a7b..4b28622 100644
--- a/.config/waybar/config
+++ b/.config/waybar/config
@@ -2,7 +2,7 @@
"layer": "top",
"modules-left": ["sway/workspaces","sway/scratchpad","sway/window"],
"modules-center": ["clock"],
- "modules-right": ["backlight","pulseaudio","network","idle_inhibitor","battery"],
+ "modules-right": ["custom/notification", "backlight","pulseaudio","network","idle_inhibitor","battery"],
"spacing": 0,
"clock":
@@ -128,8 +128,28 @@
"on-scroll-up": "brightnessctl set 1+",
"on-scroll-down": "brightnessctl set 1-",
"scroll-step": 0.5
- }
+ },
+ "custom/notification": {
+ "tooltip": false,
+ "format": "{icon}",
+ "format-icons": {
+ "notifications": "",
+ "none": "",
+ "dnd-notification": "",
+ "dnd-none": "",
+ "inhibited-notification": "",
+ "inihibited-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/.config/waybar/style.css b/.config/waybar/style.css
index 59e24d2..c23cb2f 100644
--- a/.config/waybar/style.css
+++ b/.config/waybar/style.css
@@ -72,6 +72,12 @@ tooltip label
padding: 0 10px;
}
+#custom-notification
+{
+ padding: 0 10px;
+ border-right: 1px solid @primary_fg_color;
+}
+
#mode, #clock, #battery
{
padding: 0px 10px;