2024-09-05 18:11:43 +02:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
2024-08-27 21:19:15 +02:00
|
|
|
|
2024-09-05 02:43:08 +02:00
|
|
|
let
|
|
|
|
inherit (lib) mkForce;
|
|
|
|
|
|
|
|
inherit (config.lib.stylix.colors.withHashtag)
|
2024-09-05 18:15:04 +02:00
|
|
|
base02
|
|
|
|
base03
|
2024-09-05 02:44:19 +02:00
|
|
|
base08
|
|
|
|
base0A
|
2024-09-05 02:43:08 +02:00
|
|
|
;
|
|
|
|
in
|
2024-08-27 21:19:15 +02:00
|
|
|
{
|
|
|
|
services.dunst = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
iconTheme = {
|
|
|
|
package = pkgs.papirus-icon-theme;
|
|
|
|
name = "Papirus";
|
|
|
|
};
|
|
|
|
|
|
|
|
settings = {
|
|
|
|
global = {
|
2024-10-06 21:50:29 +02:00
|
|
|
follow = "keyboard";
|
2024-09-04 19:32:56 +02:00
|
|
|
width = 370;
|
2024-09-05 18:13:29 +02:00
|
|
|
separator_height = 1;
|
2024-08-27 21:19:15 +02:00
|
|
|
padding = 24;
|
|
|
|
horizontal_padding = 24;
|
2024-09-05 18:13:29 +02:00
|
|
|
frame_width = 1;
|
2024-09-05 23:04:54 +02:00
|
|
|
sort = "update";
|
2024-08-27 21:19:15 +02:00
|
|
|
idle_threshold = 120;
|
|
|
|
alignment = "center";
|
|
|
|
word_wrap = "yes";
|
|
|
|
transparency = 5;
|
|
|
|
format = "<b>%s</b>: %b";
|
|
|
|
markup = "full";
|
|
|
|
min_icon_size = 32;
|
|
|
|
max_icon_size = 128;
|
2024-09-05 18:15:04 +02:00
|
|
|
highlight = mkForce base03;
|
2024-08-27 21:19:15 +02:00
|
|
|
};
|
2024-09-05 02:43:08 +02:00
|
|
|
|
2024-09-05 02:44:19 +02:00
|
|
|
urgency_low = {
|
|
|
|
foreground = mkForce base0A;
|
2024-09-05 18:12:57 +02:00
|
|
|
frame_color = mkForce base02;
|
2024-09-05 02:44:19 +02:00
|
|
|
};
|
|
|
|
|
2024-09-05 18:12:57 +02:00
|
|
|
urgency_normal.frame_color = mkForce base02;
|
2024-09-05 02:44:19 +02:00
|
|
|
|
|
|
|
urgency_critical = {
|
|
|
|
foreground = mkForce base08;
|
2024-09-05 18:12:57 +02:00
|
|
|
frame_color = mkForce base02;
|
2024-09-05 02:44:19 +02:00
|
|
|
};
|
2024-08-27 21:19:15 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|