dotfiles/home/modules/dunst/config/settings.nix
2025-01-14 16:17:42 -06:00

34 lines
734 B
Nix
Executable file

{flake, ...}: let
inherit
(flake.config.aesthetics.themes.schemes.catppuccin-macchiato)
colours
;
inherit
(flake.config.aesthetics.themes)
font
;
makeColor = c: "#" + c;
in {
global = {
font = "${font} 10";
background = makeColor colours.base;
corner_radius = 10;
fade_in_duration = 1000;
foreground = makeColor colours.text;
frame = 10000;
frame_color = makeColor colours.mauve;
frame_width = 1;
icon_corner_radius = 10;
monitor = 1;
offset = "20x20";
origin = "bottom-right";
progress_bar_corner_radius = 4;
timeout = 10;
transparecncy = true;
};
urgency_critical = {
frame_color = makeColor colours.peach;
timeout = 0;
};
}