aboutsummaryrefslogtreecommitdiff
path: root/modules/desktop/system/components/dunst.nix
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-06-09 17:40:46 +0000
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-06-09 17:40:46 +0000
commita45c4551712c1ba5cb82eaf290f311ab0e8690e4 (patch)
treef62b23489fb31f8ea58fef77f99619efd784eb36 /modules/desktop/system/components/dunst.nix
big changes
Diffstat (limited to 'modules/desktop/system/components/dunst.nix')
-rw-r--r--modules/desktop/system/components/dunst.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/modules/desktop/system/components/dunst.nix b/modules/desktop/system/components/dunst.nix
new file mode 100644
index 0000000..cb650a1
--- /dev/null
+++ b/modules/desktop/system/components/dunst.nix
@@ -0,0 +1,38 @@
+{
+ lib,
+ config,
+ pkgs,
+ ...
+}: let
+ cfg = config.collinux.desktop.components.dunst;
+
+ settings = pkgs.writeText "dunstrc" ''
+ [global]
+ frame_color = "#89b4fa"
+ separator_color = frame
+ highlight = "#89b4fa"
+ offset = "8x30"
+ 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 {
+ hjem.users."${config.collinux.user.name}" = {
+ files.".config/dunst/dunstrc".source = settings;
+ packages = [pkgs.dunst];
+ };
+ }