Move dunst to own module, update styles
This commit is contained in:
parent
1c9287cc44
commit
588bc378a2
3 changed files with 22 additions and 15 deletions
|
@ -11,6 +11,7 @@ in {
|
|||
./sway.nix
|
||||
./term.nix
|
||||
./waybar.nix
|
||||
./dunst.nix
|
||||
];
|
||||
|
||||
config = lib.mkIf (cfg.enable) {
|
||||
|
|
21
shared/home/gui/dunst.nix
Normal file
21
shared/home/gui/dunst.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ ... }: {
|
||||
services.dunst = {
|
||||
enable = true;
|
||||
settings = {
|
||||
global = {
|
||||
font = "Fira Code 9";
|
||||
origin = "bottom-right";
|
||||
offset = "10x10";
|
||||
frame_width = "2";
|
||||
frame_color = "#ffffff";
|
||||
corner_radius = "4";
|
||||
width = "400";
|
||||
};
|
||||
urgency_critical.background = "#d12142";
|
||||
urgency_normal = {
|
||||
background = "#212121";
|
||||
format = "<b><span foreground='#27e67a'>%s</span></b>\\n%b";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -26,21 +26,6 @@
|
|||
xdg.systemDirs.data = [ "/usr/share" "/usr/local/share" ];
|
||||
fonts.fontconfig.enable = true;
|
||||
|
||||
services.dunst = {
|
||||
enable = true;
|
||||
settings = {
|
||||
global = {
|
||||
font = "Fira Code 9";
|
||||
origin = "top-center";
|
||||
offset = "10x10";
|
||||
frame_width = "2";
|
||||
frame_color = "#ffffff";
|
||||
width = "400";
|
||||
};
|
||||
urgency_normal.background = "#212121";
|
||||
};
|
||||
};
|
||||
|
||||
programs.man.enable = false;
|
||||
|
||||
}
|
Loading…
Reference in a new issue