Files
dotfiles/home/natto/dunst.nix
Amneesh Singh 8e3a3aca2b lib: rename
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2023-03-08 11:22:04 +05:30

39 lines
894 B
Nix

{ config, lib', ... }:
{
services = {
dunst = {
enable = true;
iconTheme = with config.gtk.iconTheme; { inherit name package; };
settings = with lib'.colors.hex; {
global = {
mouse_left_click = "close_current";
mouse_right_click = "do_action";
mouse_middle_click = "close_all";
font = "Monospace 10";
separator_color = "auto";
shrink = true;
word_wrap = "yes";
};
urgency_low = {
inherit background foreground;
frame_color = sky;
timeout = 5;
};
urgency_normal = {
inherit background foreground;
frame_color = mauve;
timeout = 5;
};
urgency_critical = {
inherit background foreground;
frame_color = red;
timeout = 0;
};
};
};
};
}