mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-20 17:57:47 +02:00
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:
parent
d10c5565fb
commit
99fd8bf3f3
31
home/dunst.nix
Normal file
31
home/dunst.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@ -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 = {
|
services = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user