LinuxCommandLibrary

dunstctl

runtime control interface for dunst

TLDR

Show notification history

$ dunstctl history-pop
copy
Close current notification
$ dunstctl close
copy
Close all notifications
$ dunstctl close-all
copy
Toggle do-not-disturb
$ dunstctl set-paused toggle
copy
Check if paused
$ dunstctl is-paused
copy
Show notification count
$ dunstctl count
copy
Reload configuration
$ dunstctl reload
copy

SYNOPSIS

dunstctl command [args]

DESCRIPTION

dunstctl is the command-line control interface for the dunst notification daemon. It provides runtime management capabilities without requiring configuration file changes or daemon restarts.
The tool allows closing notifications programmatically, managing notification history, toggling pause state (do-not-disturb mode), and reloading dunst's configuration. It's commonly used in window manager keybindings and scripts for notification management.
Key features include history navigation (pop the most recent notification from history), pause state management for temporarily suspressing notifications, and live configuration reloading. The close commands can target specific notifications or clear all visible ones at once.

SUBCOMMANDS

close

Close current notification.
close-all
Close all notifications.
history-pop
Show notification from history.
set-paused state
Set pause state (true, false, toggle).
is-paused
Check pause state.
count
Show notification count.
reload
Reload configuration.
debug
Print debug information.
context
Open context menu.

SEE ALSO

dunst(1), dunstify(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community