diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-06-09 17:40:46 +0000 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-06-09 17:40:46 +0000 |
| commit | a45c4551712c1ba5cb82eaf290f311ab0e8690e4 (patch) | |
| tree | f62b23489fb31f8ea58fef77f99619efd784eb36 /modules/desktop/home/environments/hyprland/dunst.nix | |
big changes
Diffstat (limited to 'modules/desktop/home/environments/hyprland/dunst.nix')
| -rw-r--r-- | modules/desktop/home/environments/hyprland/dunst.nix | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/modules/desktop/home/environments/hyprland/dunst.nix b/modules/desktop/home/environments/hyprland/dunst.nix new file mode 100644 index 0000000..6a5a0d1 --- /dev/null +++ b/modules/desktop/home/environments/hyprland/dunst.nix @@ -0,0 +1,44 @@ +{ + config, + lib, + ... +}: let + cfg = config.collinux.desktop.hyprland.components.dunst; +in + lib.mkIf cfg.enable { + services.dunst = { + enable = true; + settings = lib.mkMerge [ + { + global = { + offset = "8x30"; + origin = "top-right"; + transparency = 10; + font = "Iosevka Nerd Font"; + }; + } + (lib.mkIf (cfg.theme == "catppuccin") { + global = { + frame_color = "#89b4fa"; + highlight = "#89b4fa"; + }; + + urgency_low = { + background = "#1e1e2e"; + foreground = "#cdd6f4"; + }; + + urgency_normal = { + background = "#1e1e2e"; + foreground = "#cdd6f4"; + }; + + urgency_critical = { + background = "#1e1e2e"; + foreground = "#cdd6f4"; + frame_color = "#fab387"; + }; + }) + ]; + }; + } |
