{ config, pkgs, lib, ... }: let inherit (lib) mkForce; inherit (config.lib.stylix.colors.withHashtag) base02 base03 base08 base0A ; in { services.dunst = { enable = true; iconTheme = { package = pkgs.papirus-icon-theme; name = "Papirus"; }; settings = { global = { width = 370; separator_height = 1; padding = 24; horizontal_padding = 24; frame_width = 1; sort = "update"; idle_threshold = 120; alignment = "center"; word_wrap = "yes"; transparency = 5; format = "%s: %b"; markup = "full"; min_icon_size = 32; max_icon_size = 128; highlight = mkForce base03; }; urgency_low = { foreground = mkForce base0A; frame_color = mkForce base02; }; urgency_normal.frame_color = mkForce base02; urgency_critical = { foreground = mkForce base08; frame_color = mkForce base02; }; }; }; }