From 2c1b3e4ce31fe1e6df694c0b6a572039a7151a9f Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Mon, 24 Oct 2022 16:18:52 +0200 Subject: [PATCH] feat: add and configure dunst notification daemon --- home-manager/i3/default.nix | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/home-manager/i3/default.nix b/home-manager/i3/default.nix index c973f78..15feddc 100644 --- a/home-manager/i3/default.nix +++ b/home-manager/i3/default.nix @@ -104,5 +104,36 @@ in }; unclutter.enable = true; + + dunst = { + enable = true; + settings = { + global = { + follow = "keyboard"; + font = "DejaVu Sans Mono 10"; + }; + + urgency_low = { + frame_color = "#268bd2"; + foreground = "#268bd2"; + background = "#002b36"; + timeout = 4; + }; + + urgency_normal = { + frame_color = "#859900"; + foreground = "#859900"; + background = "#002b36"; + timeout = 6; + }; + + urgency_critical = { + frame_color = "#dc322f"; + foreground = "#dc322f"; + background = "#002b36"; + timeout = 8; + }; + }; + }; }; }