2024-02-29 22:20:26 -05:00
|
|
|
{
|
|
|
|
|
pkgs,
|
|
|
|
|
theme,
|
|
|
|
|
...
|
|
|
|
|
}: let
|
|
|
|
|
inherit (theme) x;
|
|
|
|
|
in {
|
|
|
|
|
services.dunst = {
|
|
|
|
|
enable = true;
|
|
|
|
|
package = pkgs.dunst.overrideAttrs (_: {
|
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
|
owner = "sioodmy";
|
|
|
|
|
repo = "dunst";
|
|
|
|
|
rev = "6477864bd870dc74f9cf76bb539ef89051554525";
|
|
|
|
|
sha256 = "FCoGrYipNOZRvee6Ks5PQB5y2IvN+ptCAfNuLXcD8Sc=";
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
iconTheme = {
|
|
|
|
|
package = pkgs.catppuccin-papirus-folders;
|
|
|
|
|
name = "Papirus";
|
|
|
|
|
};
|
|
|
|
|
settings = with theme.colors; {
|
|
|
|
|
global = {
|
2024-03-01 02:33:22 -05:00
|
|
|
frame_color = "#${rose}95";
|
|
|
|
|
separator_color = x rose;
|
2024-02-29 22:20:26 -05:00
|
|
|
width = 220;
|
|
|
|
|
height = 280;
|
|
|
|
|
offset = "0x15";
|
|
|
|
|
font = "Lexend 12";
|
|
|
|
|
corner_radius = 10;
|
|
|
|
|
origin = "top-center";
|
|
|
|
|
notification_limit = 3;
|
|
|
|
|
idle_threshold = 120;
|
|
|
|
|
ignore_newline = "no";
|
|
|
|
|
mouse_left_click = "close_current";
|
|
|
|
|
mouse_right_click = "close_all";
|
|
|
|
|
sticky_history = "yes";
|
|
|
|
|
history_length = 20;
|
|
|
|
|
show_age_threshold = 60;
|
|
|
|
|
ellipsize = "middle";
|
|
|
|
|
padding = 10;
|
|
|
|
|
always_run_script = true;
|
|
|
|
|
frame_width = 2;
|
|
|
|
|
transparency = 10;
|
|
|
|
|
progress_bar = true;
|
|
|
|
|
progress_bar_frame_width = 0;
|
2024-03-01 02:33:22 -05:00
|
|
|
highlight = x rose;
|
2024-02-29 22:20:26 -05:00
|
|
|
};
|
|
|
|
|
fullscreen_delay_everything.fullscreen = "delay";
|
|
|
|
|
urgency_low = {
|
2024-03-01 02:33:22 -05:00
|
|
|
background = "#${subtle}83";
|
|
|
|
|
foreground = x muted;
|
2024-02-29 22:20:26 -05:00
|
|
|
timeout = 5;
|
|
|
|
|
};
|
|
|
|
|
urgency_normal = {
|
2024-03-01 02:33:22 -05:00
|
|
|
background = "#${subtle}83";
|
2024-02-29 22:20:26 -05:00
|
|
|
foreground = "#c6d0f5";
|
|
|
|
|
timeout = 6;
|
|
|
|
|
};
|
|
|
|
|
urgency_critical = {
|
2024-03-01 02:33:22 -05:00
|
|
|
background = "#${subtle}83";
|
2024-02-29 22:20:26 -05:00
|
|
|
foreground = x text;
|
2024-03-01 02:33:22 -05:00
|
|
|
frame_color = "#${pine}80";
|
2024-02-29 22:20:26 -05:00
|
|
|
timeout = 0;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|