nixos/home/hyprland/dunst.nix

49 lines
1.3 KiB
Nix
Raw Normal View History

2023-10-07 10:23:25 +01:00
{ ... }: {
2023-04-03 16:53:23 +01:00
services.dunst = {
enable = true;
settings = {
global = {
follow = "mouse";
origin = "top-right";
progress_bar = true;
progress_bar_height = 10;
progress_bar_frame_width = 1;
progress_bar_min_width = 150;
progress_bar_max_width = 300;
indicate_hidden = "yes";
transparency = 16;
separator_color = "frame";
2023-10-07 10:23:25 +01:00
font = "Fira Sans Mono 10";
2023-04-03 16:53:23 +01:00
ellipsize = "end";
ignore_newline = "no";
stack_duplicates = true;
hide_duplicate_count = false;
show_indicators = true;
icon_position = "left";
corner_radius = 7;
mouse_left_click = "close_current";
mouse_middle_click = "do_action, close_current";
mouse_right_click = "close_all";
};
urgency_low = {
2023-07-17 10:02:10 +01:00
background = "#16161e";
foreground = "#c0caf5";
frame_color = "#c0caf5";
2023-04-03 16:53:23 +01:00
timeout = 5;
};
urgency_normal = {
2023-07-17 10:02:10 +01:00
background = "#1a1b26";
foreground = "#c0caf5";
frame_color = "#c0caf5";
2023-04-03 16:53:23 +01:00
timeout = 5;
};
urgency_critical = {
2023-07-17 10:02:10 +01:00
background = "#292e42";
foreground = "#db4b4b";
frame_color = "#db4b4b";
2023-04-03 16:53:23 +01:00
timeout = 120;
};
};
};
}