commit 8ad6ea9e81711c1523c7dbfd5bd911f24991eaf8 parent a9cfc6fb9f2b8b75cecd45cc219bcc1ca4381a13 Author: Chris Bracken <chris@bracken.jp> Date: Sat, 24 Jul 2021 19:09:16 -0700 sway: Use mako for notifications Mako is a Wayland-native lightweight notification daemon. Diffstat:
A | .config/mako/config | | | 33 | +++++++++++++++++++++++++++++++++ |
M | .config/sway/config | | | 4 | ++-- |
2 files changed, 35 insertions(+), 2 deletions(-)
diff --git a/.config/mako/config b/.config/mako/config @@ -0,0 +1,33 @@ +# Sort in reverse-chronological order. +sort=-time + +# Overlay above fullscreen windows. +layer=overlay + +# Notification width and maximum height. +width=300 +height=110 + +# Notification box colour. +background-color=#2e3440 +border-color=#88c0d0 +border-size=2 +border-radius=8 + +# Show icons. +icons=1 +max-icon-size=64 + +# Always timeout after 5 seconds; ignore app's requested timeout. +default-timeout=5000 +ignore-timeout=1 + +[urgency=low] +border-color=#cccccc + +[urgency=normal] +border-color=#d08770 + +[urgency=high] +border-color=#bf616a +default-timeout=0 diff --git a/.config/sway/config b/.config/sway/config @@ -14,8 +14,8 @@ exec xrdb ~/.config/Xresources # Start up ibus IME daemon. exec ibus-daemon --xim -# Start up Dunst notification system -exec dunst +# Start up Mako notification system +exec mako # Set the window title font. font pango:IPAGothic 14, DejaVu Sans Mono 12