diff options
Diffstat (limited to 'user/settings/dunst.nix')
-rw-r--r-- | user/settings/dunst.nix | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/user/settings/dunst.nix b/user/settings/dunst.nix new file mode 100644 index 00000000..6d74b51b --- /dev/null +++ b/user/settings/dunst.nix @@ -0,0 +1,57 @@ +{ config, pkgs, ... }: + +{ + services.dunst = { + enable = true; + settings = { + global = { + font = "Monospace 13"; + geometry = "300x10-10+30"; + follow = "none"; + sticky_history = "yes"; + history_length = 20; + show_indicators = "yes"; + separator_height = 2; + padding = 8; + horizontal_padding = 8; + idle_threshold = 30; + + indicate_hidden = "no"; + + allow_markup = "yes"; + format = "<b>%s</b>\n%b"; + word_wrap = "yes"; + ignore_newline = "no"; + + separator_color = "frame"; + }; + frame = { + width = 1; + color = "#383838"; + }; + shortcuts = { + close = "mod4+apostrophe"; + close_all = "mod4+shift+apostrophe"; + history = "mod4+grave"; + context = "mod4+shift+period"; + }; + urgency_low = { + background = "#b8b8b8"; + foreground = "#f8f8f8"; + timeout = 10; + }; + + urgency_normal = { + background = "#7cafc2"; + foreground = "#f8f8f8"; + timeout = 10; + }; + + urgency_critical = { + background = "#ab4642"; + foreground = "#f8f8f8"; + timeout = 0; + }; + }; + }; +} |