mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-23 08:45:09 +01:00
575455f954
Works on both Hyprland and dwm.
61 lines
1.1 KiB
Nix
61 lines
1.1 KiB
Nix
{
|
|
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 = {
|
|
follow = "keyboard";
|
|
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 = "<b>%s</b>: %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;
|
|
};
|
|
};
|
|
};
|
|
}
|