$linuxjunkies
>

swaync(1)

SwayNC is a GTK notification daemon and control center for Sway and other Wayland compositors.

UbuntuDebianFedoraArch

Synopsis

swaync [OPTION]...

Description

SwayNC is a notification daemon designed for Sway window manager and other Wayland compositors. It displays desktop notifications and provides a control center for managing system settings, volume, brightness, and other quick toggles.

The daemon runs in the background and creates notification popups on screen. It includes a notification history and a control center panel accessible via keyboard shortcuts or mouse clicks.

Configuration is done through JSON files in ~/.config/swaync/, allowing customization of appearance, behavior, and notification rules.

Common options

FlagWhat it does
--helpshow help message and exit
--versionshow version number
--daemonstart as daemon (default mode)
--clientconnect to running daemon instance
--toggle-paneltoggle notification center panel visibility
--close-panelclose the notification center panel
--open-panelopen the notification center panel
--toggle-dndtoggle do-not-disturb mode
--get-dndcheck if do-not-disturb mode is enabled

Examples

start the notification daemon in the background

swaync

toggle the notification center panel on/off

swaync --client --toggle-panel

toggle do-not-disturb mode to silence notifications

swaync --client --toggle-dnd

check if do-not-disturb mode is currently active

swaync --client --get-dnd

restart the notification daemon

killall swaync && swaync

close the notification center panel

swaync --client --close-panel