blob: 9978d384a541893dfac2ba455ddd946e5008e9c5 (
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, pkgs, lib, ... }:
let
vars = import ./variables.nix;
in {
services.dunst = {
enable = true;
settings = {
global = {
width = "(200,300)";
height = "(0,150)";
offset = "(30,50)";
origin = "bottom-right";
transparency = 10;
frame_width = 0;
font = "Fira Code 10";
};
urgency_low = {
background = vars.colors.background;
foreground = vars.colors.foreground;
timeout = 8;
};
urgency_normal = {
background = vars.colors.background;
foreground = vars.colors.foreground;
frame-size = "0";
timeout = 10;
};
urgency_critical = {
background = vars.colors.background;
foreground = vars.colors.foreground;
frame-size = "5";
frame-color = vars.colors.alert;
};
};
};
}
|