~/swaydesk/components/notification-center

← All components

Notification center

Notification center

Notification center

Notifications grouped by app, with their actions, and Do Not Disturb.

  • Each app’s group has Clear, and Clear all empties the whole list.
  • Each notification shows its icon, title, text, how long ago it came, and × to dismiss it.
  • Click a notification to run its default action; its action buttons sit right in the list.
  • Do not disturb: Off, 1 h, 2 h or Always; meanwhile only critical notifications pop up.
  • Right click on the bell turns Do not disturb on or off.
  • The bell shows a dot when there are notifications, and turns red when the notification service is down.
  • Opening the center hides the pop-up notifications; critical ones move beside it.
  • The list keeps up to 200 notifications, and is emptied when you log out.

Rust + GTK 4 · source · More in the guide · turn off: [enabled.bar] notifications = false

Install it alone

Only this component, without the full session. First add the Swaydesk repository, as on the page Install.

Debian 13

sudo apt install swaydesk-notifd

Ubuntu 26.04 · Mint 27

sudo apt install swaydesk-notifd

Arch Linux

sudo pacman -Syu swaydesk-notifd

Start it on plain Sway

In ~/.config/sway/config:

include /usr/share/swaydesk/sway/config.d/50-swaydesk-notifd.conf

Super+N shows the notifications. Only one notification server can run: stop mako, dunst or swaync first.

It runs as a systemd user unit, restarted if it crashes, and does nothing inside the Swaydesk session. Put the include after your config's set $mod. Without a systemd user session, use the exec line in the file's last comment instead.

In Waybar

In ~/.config/waybar/config.jsonc, add "custom/swaydesk-notifd" to modules-left, modules-center or modules-right, and paste the module from this file next to your other modules:

/usr/share/swaydesk/waybar/swaydesk-notifd.jsonc

The file's first lines say what each click does. The icons come from the Symbols Nerd Font, which the package brings.

Shortcuts

Super+C; click the bell

Those of the Swaydesk profile, the default. The other profiles are in Shortcuts.