Skip to content

dunstctl close <id> does not dismiss notification window #1546

@conor-naranjo

Description

@conor-naranjo

I am using a script running in dunst config that contains (roughly) the following to log the emitting application and the dunst notification id:
script = ~/bin/dunst_log_filter

NOTIF_APPNAME="$1"

if [ -n "$DUNST_ID" ]; then
	echo "$DUNST_ID $NOTIF_APPNAME" >> "$LOG_FILE"
fi

If I run dunstctl close with no additional parameters, the window is removed and the notification is moved into history as expected.

Is this expected behavior or is there another way to invoke close_current for a single id using dunstctl?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions