blob: a471a6ae4192ada8bef27a95fe5cc35b6ac65714 (
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
42
43
44
45
|
{ config, neotheme }:
with neotheme.colors;
let
guiCfg = config.profiles.gui;
in
{
anchor = "top-right";
width = 330;
padding = "8";
margin = "16,8";
borderRadius = 10;
borderSize = 2;
borderColor = "#${color3}";
backgroundColor = "#${background}";
textColor = "#${foreground}";
progressColor = "over #${color5}";
markup = true;
font = "${guiCfg.font.name} ${toString guiCfg.font.size}";
maxVisible = 5;
extraConfig = ''
[urgency=low]
border-color=#${color4}
default-timeout=4000
[urgency=normal]
border-color=#${color3}
default-timeout=8000
[urgency=critical]
border-color=#${color1}
default-timeout=0
[app-name=yubikey-touch-detector]
anchor=bottom-center
text-alignment=center
padding=32
'';
}
|