Skip to main content

max / alloy

1.2 KB · 52 lines History Blame Raw
1 @{! variants = default, night }
2 # Alloy mako configuration
3 #
4 # Notification daemon per docs/STACK.md#notification-daemon. Alloy
5 # palette per docs/TOKENS.md; urgency shows as border color
6 # (low = border-subtle, normal = border, critical = accent-error).
7 # Quasi Mono so glyphs align with body text.
8 #
9 # The v2 bespoke egui daemon should reproduce these defaults verbatim
10 # so existing users don't feel the switch.
11
12 font=Quasi Mono 11
13
14 background-color=@{surface.raised}
15 text-color=@{content.primary}
16 border-color=@{line.border}
17 border-size=1
18 border-radius=4
19
20 padding=10,14
21 margin=8
22
23 default-timeout=5000
24 ignore-timeout=0
25
26 max-visible=5
27 sort=-time
28 layer=overlay
29 anchor=top-right
30 output=
31
32 icons=1
33 icon-path=/usr/share/icons/Adwaita/scalable:/usr/share/icons/hicolor
34
35 format=<b>%s</b>\n%b
36 markup=1
37 actions=1
38
39 # -------------------------------------------------------------------
40 # Per-urgency overrides — border color signals severity
41 # -------------------------------------------------------------------
42 [urgency=low]
43 border-color=@{border.subtle}
44 default-timeout=3000
45
46 [urgency=normal]
47 border-color=@{line.border}
48
49 [urgency=critical]
50 border-color=@{status.danger}
51 default-timeout=0
52