aboutsummaryrefslogtreecommitdiff
path: root/modules/desktop/hjem/wm/dunst.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/desktop/hjem/wm/dunst.nix')
-rw-r--r--modules/desktop/hjem/wm/dunst.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/modules/desktop/hjem/wm/dunst.nix b/modules/desktop/hjem/wm/dunst.nix
new file mode 100644
index 0000000..38a8240
--- /dev/null
+++ b/modules/desktop/hjem/wm/dunst.nix
@@ -0,0 +1,36 @@
+{
+ lib,
+ config,
+ pkgs,
+ ...
+}: let
+ cfg = config.collinux.desktop.sway.components.dunst;
+
+ settings = ''
+ [global]
+ frame_color = "#89b4fa"
+ separator_color = frame
+ highlight = "#89b4fa"
+ offset = "(8,8)"
+ origin = "top-right"
+ transparency = 10
+ font = "Iosevka Nerd Font"
+
+ [urgency_low]
+ background = "#1e1e2e"
+ foreground = "#cdd6f4"
+
+ [urgency_normal]
+ background = "#1e1e2e"
+ foreground = "#cdd6f4"
+
+ [urgency_critical]
+ background = "#1e1e2e"
+ foreground = "#cdd6f4"
+ frame_color = "#fab387"
+ '';
+in
+ lib.mkIf cfg.enable {
+ files.".config/dunst/dunstrc".text = settings;
+ packages = with pkgs; [dunst inotify-tools];
+ }