Include the color config for mako from ~/.local/state/mako/style instead of hardcoding it or templating it into the config file. This means we have to ensure the directory and file exist before running mako which we do with an `env.d` startup script.
25 lines
441 B
Text
25 lines
441 B
Text
sort=-time
|
|
layer=overlay
|
|
width=300
|
|
height=110
|
|
border-size=2
|
|
border-radius=15
|
|
max-icon-size=64
|
|
default-timeout=5000
|
|
ignore-timeout=1
|
|
font=monospace 14
|
|
|
|
# this requires the file to exist
|
|
# or mako will not start
|
|
include=~/.local/state/mako/style
|
|
|
|
[urgency=critical]
|
|
#on-notify=exec mpv /usr/share/sounds/freedesktop/stereo/message.oga
|
|
default-timeout=0
|
|
|
|
[mode=do-not-disturb]
|
|
invisible=1
|
|
|
|
[category=mpd]
|
|
default-timeout=2000
|
|
group-by=category
|