dunstctl(1) dunstctl reference dunstctl(1)

dunstctl - Command line control utility for dunst, a customizable and lightweight notification-daemon

dunstctl COMMAND [PARAMETER]

Performs the default action or, if not available, opens the context menu of the notification at the given position (starting count at the top, first notification being 0).
Close the topmost notification currently being displayed. You can optionally pass an ID to close the matching notification (if present).
Close all notifications currently being displayed.
Open the context menu, presenting all available actions and urls for the currently open notifications.
Returns the number of displayed, shown and waiting notifications. If no argument is provided, everything will be printed.
Exports the history as JSON.
Deletes all notifications from the history.
Redisplay the notification that was most recently closed. This can be called multiple times to show older notifications, up to the history limit configured in dunst. You can optionally pass an ID to history-pop, in which case the notification with the given ID will be shown.
Removes the notification with the given ID from the history.
Check if dunst is currently running or paused. If dunst is paused notifications will be kept but not shown until it is unpaused.
Set the paused status of dunst. If false, dunst is running normally, if true, dunst is paused (with maximum pause level of 100). See the is-paused command and the dunst man page for more information.
Get current dunst's pause level, where 0 is not paused and 100 is maximally paused.

This can be combined with notification's override_pause_level to selectively display specific notifications while paused.

Set the pause level, where 0 is not paused and 100 is maximally paused.

This can be combined with notification's override_pause_level to selectively display specific notifications while paused.

Enables, disables or toggles the rule identified by its name. This can be used to temporarily activate or deactivate specific rules.
Exports all currently configured rules (optionally JSON formatted).
Reload the settings of the running dunst instance. You can optionally specify which configuration files to use. Otherwise, the config specified by the first invocation of dunst will be reloaded. When dunst is reloaded all the rules are reapplied to the original notification, so modifications made by previous rules are not taken into account.
Tries to contact dunst and checks for common faults between dunstctl and dunst. Useful if something isn't working.
Show all available commands with a brief description.
2024-12-07 1.12.0 (2024-11-30)