From 0f1cde1f67d44e78b2945bea832d0b70d21aa8a3 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sun, 16 Jan 2022 17:44:16 +0530 Subject: update dunst to new config format --- services/dunst.nix | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/services/dunst.nix b/services/dunst.nix index 6037d67..570beba 100644 --- a/services/dunst.nix +++ b/services/dunst.nix @@ -22,6 +22,7 @@ with theme; ignore_newline = "no"; geometry = "300x8-20+20"; shrink = "yes"; + frame_width = 0; transparency = "0"; idle_threshold = "120"; monitor = "0"; @@ -36,6 +37,10 @@ with theme; horizontal_padding = "20"; separator_color = "auto"; startup_notification = "false"; + stack_duplicates = "true"; + mouse_left_click = "close_current"; + mouse_middle_click = "do_action, close_current"; + mouse_right_click = "close_all"; }; urgency_normal = { @@ -55,18 +60,6 @@ with theme; foreground = base05; timeout = 0; }; - - frame = { - width = 0; - color = base00; - }; - - shortcuts = { - close = "ctrl+space"; - close_all = "ctrl+shift+space"; - history = "ctrl+grave"; - context = "ctrl+shift+period"; - }; }; }; } -- cgit v1.2.3