meta: Move dunst config out of dwm

Long-term I'll have to decide if it's worth it to use two separate
notification daemons for X and Wayland.
This commit is contained in:
Donovan Glover 2024-08-27 15:19:15 -04:00
parent d10c5565fb
commit 99fd8bf3f3
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 31 additions and 30 deletions

31
home/dunst.nix Normal file
View File

@ -0,0 +1,31 @@
{ pkgs, ... }:
{
services.dunst = {
enable = true;
iconTheme = {
package = pkgs.papirus-icon-theme;
name = "Papirus";
};
settings = {
global = {
geometry = "1870x5-25+45";
width = 350;
separator_height = 5;
padding = 24;
horizontal_padding = 24;
frame_width = 3;
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;
};
};
};
}

View File

@ -96,36 +96,6 @@ in
'';
};
};
services = {
dunst = {
enable = true;
iconTheme = {
package = pkgs.papirus-icon-theme;
name = "Papirus";
};
settings = {
global = {
geometry = "1870x5-25+45";
width = 350;
separator_height = 5;
padding = 24;
horizontal_padding = 24;
frame_width = 3;
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;
};
};
};
};
};
services = {