diff options
| author | Natasha Nightshade <31557030-TashaTheInnkeeper@users.noreply.gitlab.com> | 2026-02-02 13:35:51 +0100 |
|---|---|---|
| committer | Natasha Nightshade <31557030-TashaTheInnkeeper@users.noreply.gitlab.com> | 2026-02-02 13:35:51 +0100 |
| commit | 0423ac08769fce26e4a75ea382874c06d97526f6 (patch) | |
| tree | 9d8a1a934ecf582502f556cc61af0da687840d70 /modules/home/i3wm/dunst.nix | |
| parent | 5c741252de752af281628dd7c8c780c746236088 (diff) | |
| parent | 0ed5c638945192dc5e4a099fded4db164ba603a2 (diff) | |
Merge branch 'master' into 'main'
merge master into main
See merge request natasha-linux/nixos/dots!1
Diffstat (limited to 'modules/home/i3wm/dunst.nix')
| -rw-r--r-- | modules/home/i3wm/dunst.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/modules/home/i3wm/dunst.nix b/modules/home/i3wm/dunst.nix new file mode 100644 index 0000000..6f217d9 --- /dev/null +++ b/modules/home/i3wm/dunst.nix @@ -0,0 +1,45 @@ +{ config, pkgs, lib, ... }: + +{ + services.dunst = { + enable = true; + + settings = let + colors = { + foreground = "#d0b6fd"; + background = "#1c182d"; + alert = "#7b91fc"; + }; + in { + global = { + width = "(200,300)"; + height = "(0,150)"; + offset = "(30,50)"; + origin = "bottom-right"; + transparency = 10; + frame_width = 0; + font = "Fira Code 10"; + }; + + urgency_low = { + background = colors.background; + foreground = colors.foreground; + timeout = 8; + }; + + urgency_normal = { + background = colors.background; + foreground = colors.foreground; + frame-size = "0"; + timeout = 10; + }; + + urgency_critical = { + background = colors.background; + foreground = colors.foreground; + frame-size = "5"; + frame-color = colors.alert; + }; + }; + }; +}
\ No newline at end of file |
