From 66708b0c1c23ce4e840fb01086c6d6ca130a7ccd Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Mon, 14 Nov 2022 00:16:32 +0100 Subject: [PATCH] Cleanup dunst config --- home/dunst.nix | 61 +++++++++++++++++--------------------------------- 1 file changed, 20 insertions(+), 41 deletions(-) diff --git a/home/dunst.nix b/home/dunst.nix index 0ac9251..a842ff4 100644 --- a/home/dunst.nix +++ b/home/dunst.nix @@ -2,56 +2,35 @@ services.dunst = { enable = true; settings = { + /* https://dunst-project.org/static/dunstrc1 */ global = { - font = "Monospace 8"; - allow_markup = true; - format = "%a: %s\n%b"; - sort = true; - indicate_hidden = true; - alignment = "left"; - bounce_freq = 0; - show_age_threshold = 60; - word_wrap = true; + follow = true; + format = "%s\n%b"; + markup = "full"; + alignment = "center"; + vertical_alignment = "center"; ignore_newline = false; - geometry = "300x5-30+20"; - transparency = 0; - idle_threshold = 120; - monitor = 0; - follow = "keyboard"; + indicate_hidden = true; + progress_bar = true; + word_wrap = true; sticky_history = true; - line_height = 0; - separator_height = 2; - padding = 8; - horizontal_padding = 8; - separator_color = "frame"; - startup_notification = true; - dmenu = "dmenu -p dunst:"; - browser = "firefox -new-tab"; - }; - frame = { - width = 0; - color = "#000000"; - }; - shortcuts = { - close = "mod4+m"; - close_all = "mod4+shift+m"; - history = "mod4+n"; - context = "mod4+shift+i"; + mouse_left_click = "close_current"; + mouse_middle_click = "do_action, close_current"; }; urgency_low = { - background = "#222222"; - foreground = "#888888"; - timeout = 10; + frame_color = "#3B7C87"; + foreground = "#3B7C87"; + background = "#191311"; }; urgency_normal = { - background = "#285577"; - foreground = "#ffffff"; - timeout = 10; + frame_color = "#5B8234"; + foreground = "#5B8234"; + background = "#191311"; }; urgency_critical = { - background = "#900000"; - foreground = "#ffffff"; - timeout = 0; + frame_color = "#B7472A"; + foreground = "#B7472A"; + background = "#191311"; }; }; };