Files
ricing/mako/config
nico 2b612d6e63 Switch notification daemon from dunst to mako, theme it via aether
Autostart was launching dunst, which isn't what's actually used - mako
was never installed and no daemon was really running. Fixed exec-once/
hl.exec_cmd in both hyprland.conf and hyprland.lua to start mako instead.

Added a full mako/config: rounded corners, accent-colored border for
normal urgency, muted for low, red for critical - critical also ignores
any app-supplied timeout (ignore-timeout + default-timeout=0) so it
stays until dismissed, verified live with a 1s-timeout test notification
that was still visible 6s later. Also: icons with their own corner
radius, Spotify notifications suppressed, do-not-disturb mode respected,
20-entry history, max 5 visible, sorted by time, and a format string
that shows the app name above the title/body.

Colors aren't hardcoded - added aether/custom/mako/colors.ini as a
template (same mechanism already used for Hyprland's border colors),
rendered by aether into mako/colors.ini, which mako/config pulls in via
include=. Updates automatically on the next theme switch.

Had to add !/mako to .gitignore - it's a new top-level dir and the
default-deny root pattern was blocking it entirely.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
2026-09-17 17:40:58 +02:00

41 lines
756 B
Plaintext

# Layout / behavior. Colors come from the active aether palette, not
# hardcoded here - see aether/custom/mako/colors.ini (template, edit
# that, not this include) and mako/colors.ini (generated output).
include=~/.config/mako/colors.ini
font=JetBrainsMono Nerd Font 11
format=<span size="small">%a</span>\n<b>%s</b>\n%b
width=380
height=130
padding=12
border-size=2
border-radius=12
outer-margin=44,16
margin=8
anchor=top-right
layer=top
icons=1
icon-location=left
max-icon-size=40
icon-border-radius=8
max-visible=5
sort=-time
history=1
max-history=20
default-timeout=5000
[urgency=critical]
default-timeout=0
ignore-timeout=1
[app-name=Spotify]
invisible=1
[mode=do-not-disturb]
invisible=1
[mode=do-not-disturb app-name=notify-send]
invisible=0