A simple notification daemon with a gui built for Sway (potentially any wm with wlroots).
- Keyboard shortcuts
- Notification body markup with image support
- A panel to view previous notifications
- Show album art for notifications like Spotify
- Do not disturb
- Click notification to execute default action
- Show alternative notification actions
- Customization through a CSS file
- Trackpad/mouse gesture to close notification
- The same features as any other basic notification daemon
- Slick animations 😎
- Other build scripts than a PKGBUILD (debian and/or RHEL systems)
Arch: The package is available on the AUR
Other:
meson build
ninja -C build
meson install -C build
# Notification Daemon
exec swaync
# Toggle notification panel
bindsym $mod+Shift+n exec swaync-client -t -sw
To start the daemon (remember to kill any other notification daemon before running)
./build/src/swaync
To toggle the panel
./build/src/swaync-client -t
- Up/Down: Navigate notifications
- Home: Navigate to the latest notification
- End: Navigate to the oldest notification
- Escape/Caps_Lock: Close notification panel
- Return: Execute default action or close notification if none
- Delete/BackSpace: Close notification
- C: Close all notifications
- D: Toggle Do Not Disturb
- Buttons 1-9: Execute alternative actions
The main config file is located in /etc/xdg/swaync/config.json
. Copy it over to your .config/swaync/
folder to customize without needing root access.
- positionX:
left
orright
- positionY:
top
orbottom
The main CSS style file is located in /etc/xdg/swaync/style.css
. Copy it over to your .config/swaync/
folder to customize without needing root access.
I wonder how this would look with some blur 🤔