2023-05-17 17:10:18 +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;
|
|
|
|
frame_color = "#8AADF4";
|
|
|
|
separator_color = "frame";
|
2023-04-12 15:36:35 +01:00
|
|
|
font = "FiraCode Nerd Font 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";
|
|
|
|
};
|
2023-04-12 15:36:35 +01:00
|
|
|
|
2023-04-03 16:53:23 +01:00
|
|
|
urgency_low = {
|
|
|
|
background = "#24273A";
|
|
|
|
foreground = "#CAD3F5";
|
|
|
|
timeout = 5;
|
|
|
|
};
|
2023-04-12 15:36:35 +01:00
|
|
|
|
2023-04-03 16:53:23 +01:00
|
|
|
urgency_normal = {
|
|
|
|
background = "#24273A";
|
|
|
|
foreground = "#CAD3F5";
|
|
|
|
timeout = 5;
|
|
|
|
};
|
2023-04-12 15:36:35 +01:00
|
|
|
|
2023-04-03 16:53:23 +01:00
|
|
|
urgency_critical = {
|
|
|
|
background = "#24273A";
|
|
|
|
foreground = "#CAD3F5";
|
|
|
|
frame_color = "#F5A97F";
|
|
|
|
timeout = 120;
|
|
|
|
};
|
|
|
|
};
|
2023-04-12 15:36:35 +01:00
|
|
|
#settings = builtins.readFile(
|
|
|
|
# pkgs.fetchFromGitHub {
|
|
|
|
# owner = "catppuccin";
|
|
|
|
# repo = "dunst";
|
|
|
|
# rev = "b0b838d38f134136322ad3df2b6dc57c4ca118cf";
|
|
|
|
# sha256 = "ruFcHh1dkd4Zy9qNlAA8qAksTzNjXPd2hSSmhdGgflU=";
|
|
|
|
# } + "/src/macchiato.conf"
|
|
|
|
#);
|
2023-04-03 16:53:23 +01:00
|
|
|
};
|
|
|
|
}
|