A simple GTK based notification daemon for SwayWM
Go to file
2021-08-12 22:35:33 +02:00
assets Added screenshots to README 2021-07-28 23:14:38 +02:00
src Added ability to use custom config and style.css locations 2021-08-12 22:35:33 +02:00
.gitignore Initial PKGBUILD 2021-07-30 18:59:06 +02:00
.uncrustify.cfg Initial commit 2021-07-27 21:58:52 +02:00
COPYING Initial commit 2021-07-27 21:58:52 +02:00
meson.build Removed unused folders and build files 2021-07-30 18:33:42 +02:00
PKGBUILD Updated PKGBUILD 2021-08-06 19:14:44 +02:00
README.md Update README.md 2021-08-07 15:48:12 +02:00

SwayNotificationCenter

A simple notification daemon with a gui built for Sway (potentially any wm with wlroots).

Features

  • 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
  • The same features as any other basic notification daemon

Planned Features

  • Slick animations 😎
  • Other build scripts than a PKGBUILD (debian and/or RHEL systems)

Install

Arch: The package is available on the AUR

Other:

meson build
ninja -C build
meson install -C build

Run

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

Notification Panel Shortcuts

  • 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

Configuring

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 or right
  • positionY: top or bottom

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.

Screenshots

Screenshot of desktop notification

Screenshot of panel

I wonder how this would look with some blur 🤔