From 4a99766e87b25ce2dd7034e5ac318ced1f97bb8c Mon Sep 17 00:00:00 2001 From: lightly-toasted Date: Tue, 5 Aug 2025 15:17:24 +0900 Subject: [PATCH] feat: add dunst --- home/toast/home.nix | 1 + home/toast/programs/dunst.nix | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 home/toast/programs/dunst.nix diff --git a/home/toast/home.nix b/home/toast/home.nix index 4912c8f..a9006de 100644 --- a/home/toast/home.nix +++ b/home/toast/home.nix @@ -19,6 +19,7 @@ ./programs/nodejs.nix ./programs/btop.nix ./programs/waybar + ./programs/dunst.nix ]; home = { diff --git a/home/toast/programs/dunst.nix b/home/toast/programs/dunst.nix new file mode 100644 index 0000000..765cd2b --- /dev/null +++ b/home/toast/programs/dunst.nix @@ -0,0 +1,27 @@ +{ + services.dunst = { + enable = true; + settings = { + global = { + follow = "mouse"; + frame_width = 1; + icon_position = "off"; + corner_radius = 4; + }; + urgency_low = { + background = "#1e1e1e"; + foreground = "#fefefe"; + }; + urgency_normal = { + background = "#0c0c00"; + foreground = "#fcfcff"; + }; + urgency_critical = { + background = "#300e00"; + foreground = "#ffffff"; + frame_color = "#ce1f00"; + frame_width = 2; + }; + }; + }; +}