From 1651a063543f68ccb6eb15d0e91b41b60979057d 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 | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/home-manager/i3/default.nix b/home-manager/i3/default.nix index c973f78..3e3e5ff 100644 --- a/home-manager/i3/default.nix +++ b/home-manager/i3/default.nix @@ -104,5 +104,37 @@ in }; unclutter.enable = true; + + dunst = { + enable = true; + settings = { + global = { + follow = "keyboard"; + font = "DejaVu Sans Mono 11"; + frame_width = 1; + }; + + urgency_low = { + frame_color = "#268bd2"; + foreground = "#eee8d5"; + background = "#002b36"; + timeout = 4; + }; + + urgency_normal = { + frame_color = "#859900"; + foreground = "#eee8d5"; + background = "#002b36"; + timeout = 6; + }; + + urgency_critical = { + frame_color = "#dc322f"; + foreground = "#eee8d5"; + background = "#002b36"; + timeout = 8; + }; + }; + }; }; }