Add Dunst module

This commit is contained in:
Daniel Thwaites 2021-01-06 18:08:31 +00:00
parent 9666babb92
commit 0fb9f236a3
No known key found for this signature in database
GPG key ID: D8AFC4BF05670F9D
2 changed files with 34 additions and 0 deletions

View file

@ -3,6 +3,7 @@
./stylix/default.nix
./modules/console.nix
./modules/dunst.nix
./modules/feh.nix
./modules/fish.nix
./modules/grub.nix

33
modules/dunst.nix Normal file
View file

@ -0,0 +1,33 @@
{ config, ... }:
with config.lib.stylix.colors;
with config.stylix.fonts;
{
stylix.homeModule = {
services.dunst.settings = {
global = {
separator_color = base02-hash;
font = sansSerif.name;
};
urgency_low = {
background = base01-hash;
foreground = base05-hash;
frame_color = base0B-hash;
};
urgency_normal = {
background = base01-hash;
foreground = base05-hash;
frame_color = base0E-hash;
};
urgency_critical = {
background = base01-hash;
foreground = base05-hash;
frame_color = base08-hash;
};
};
};
}