summary refs log tree commit diff stats
path: root/user/modules
diff options
context:
space:
mode:
Diffstat (limited to 'user/modules')
-rw-r--r--user/modules/dunst.nix41
1 files changed, 38 insertions, 3 deletions
diff --git a/user/modules/dunst.nix b/user/modules/dunst.nix
index 78268c04..5c8a46eb 100644
--- a/user/modules/dunst.nix
+++ b/user/modules/dunst.nix
@@ -1,8 +1,43 @@
 { config, pkgs, ... }:
 
 {
-  xdg.configFile.dunst = {
-    recursive = true;
-    source = ../dunst/.config/dunst;
+  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;
+
+        separator_color = "frame";
+      };
+      frame = {
+        width = 1;
+        color = "#383838";
+      };
+      urgency_low = {
+        background = "#b8b8b8";
+        foreground = "#f8f8f8";
+        timeout = 10;
+      };
+
+      urgency_normal = {
+        background = "#7cafc2";
+        foreground = "#f8f8f8";
+        timeout = 10;
+      };
+
+      urgency_critical = {
+        background = "#ab4642";
+        foreground = "#f8f8f8";
+        timeout = 0;
+      };
+    };
   };
 }