blob: 7528dd07dafa97c2d7e69662d94505134c36ccac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
lib,
config,
pkgs,
...
}: let
cfg = config.collinux.desktop.wm.components.dunst;
settings = with config.collinux.palette; ''
[global]
frame_color = "#ffffff00"
separator_color = frame
highlight = "#${base13}"
font = "Iosevka Nerd Font"
offset = "(8,8)"
origin = "top-right"
[urgency_low]
foreground = "#${base05}ff"
background = "#ffffff00"
[urgency_normal]
foreground = "#${base05}ff"
background = "#ffffff00"
[urgency_critical]
foreground = "#${base08}ff"
background = "#ffffff00"
'';
in
lib.mkIf cfg.enable {
files.".config/dunst/dunstrc".text = settings;
packages = with pkgs; [dunst inotify-tools];
}
|