swaync-client1
Client executable
Usage
swaync-client [option]
Options
-
-h, --help -
Show help options
-
-v, --version -
Prints version
-
-R, --reload-config -
Reload the config file
-
-rs, --reload-css -
Reload the css file. Location change requires restart
-
-t, --toggle-panel -
Toggle the notification panel
-
-op, --open-panel -
Opens the notification panel
-
-cp, --close-panel -
Closes the notification panel
-
-d, --toggle-dnd -
Toggle and print the current dnd state
-
-D, --get-dnd -
Print the current dnd state
-
-dn, --dnd-on -
Turn dnd on and print the new dnd state
-
-df, --dnd-off -
Turn dnd off and print the new dnd state
-
-I, --get-inhibited -
Print if currently inhibited or not
-
-In, --get-num-inhibitors -
Print number of inhibitors
-
-Ia, --inhibitor-add [APP_ID] -
Add an inhibitor
-
-Ir, --inhibitor-remove [APP_ID] -
Remove an inhibitor
-
-Ic, --inhibitors-clear -
Clears all inhibitors
-
-c, --count -
Print the current notification count
-
--hide-latest -
Hides latest notification. Still shown in Control Center
-
--hide-all -
Hides all notifications. Still shown in Control Center
-
--close-latest -
Closes latest notification
-
-C, --close-all -
Closes all notifications
-
-a, --action [ACTION_INDEX] -
Invokes the action [ACTION_INDEX] (or 0) of the latest notification
-
-sw, --skip-wait -
Doesn't wait when swaync hasn't been started
-
-s, --subscribe -
Subscribe to notification add and close events
-
-swb, --subscribe-waybar -
Subscribe to notification add and close events with waybar support. Read README for example
-
--change-cc-monitor -
Changes the preferred control center monitor (resets on config reload)
-
--change-noti-monitor -
Changes the preferred notification monitor (resets on config reload)
Releases
3 releases since Debian 12 (Bookworm); the text changed 2 times.
--action since Debian 13 (Trixie);
--change-cc-monitor since Arch Linux 2026-11-01;
--change-noti-monitor since Arch Linux 2026-11-01;
--get-inhibited since Debian 13 (Trixie);
--get-num-inhibitors since Debian 13 (Trixie);
--hide-all since Arch Linux 2026-11-01;
--inhibitor-add since Debian 13 (Trixie);
--inhibitor-remove since Debian 13 (Trixie);
--inhibitors-clear since Debian 13 (Trixie);
-I since Debian 13 (Trixie);
-Ia since Debian 13 (Trixie);
-Ic since Debian 13 (Trixie);
-In since Debian 13 (Trixie);
-Ir since Debian 13 (Trixie);
-a since Debian 13 (Trixie).