blob: da6b53942685c037be8708228f24562e79fe2f77 (
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
37
38
39
40
41
|
{
config,
lib,
pkgs,
...
}:
{
options.dunst.enable = lib.mkEnableOption "Enable dunst notification";
config = lib.mkIf config.dunst.enable {
home.packages = with pkgs; [
libnotify
];
services.dunst = {
enable = true;
settings = {
global = {
font = "monospace 10";
offset = "(15, 15)";
frame_width = 0;
};
urgency_low = {
foreground = "#FFFFFF";
background = "#000000E6";
};
urgency_normal = {
foreground = "#FFFFFF";
background = "#000000E6";
};
urgency_critical = {
foreground = "#FFFFFF";
background = "#000000E6";
};
};
};
};
}
|