49 lines
1.3 KiB
Nix
49 lines
1.3 KiB
Nix
{...}: {
|
|
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";
|
|
font = "FiraCode Nerd Font 10";
|
|
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 = {
|
|
background = "#16161e";
|
|
foreground = "#c0caf5";
|
|
frame_color = "#c0caf5";
|
|
timeout = 5;
|
|
};
|
|
urgency_normal = {
|
|
background = "#1a1b26";
|
|
foreground = "#c0caf5";
|
|
frame_color = "#c0caf5";
|
|
timeout = 5;
|
|
};
|
|
urgency_critical = {
|
|
background = "#292e42";
|
|
foreground = "#db4b4b";
|
|
frame_color = "#db4b4b";
|
|
timeout = 120;
|
|
};
|
|
};
|
|
};
|
|
}
|