-
Notifications
You must be signed in to change notification settings - Fork 364
Closed
Labels
Description
According to dunstctl's help output:
$ dunstctl --help
close Close the *last* notification
It's unclear in which sense "last" is being used here, until one reads the man page:
$ man 1 dunstctl
...
close
Close the *topmost* notification currently being displayed.
...
I'd like to propose new global option being made available to control whether the "first" vs "last" or "topmost" vs "bottommost" notification is closed: "close_order" (or go with whatever you prefer). Once implemented, if generating notifications as follows:
notify-send 1
notify-send 2
notify-send 3
notify-send 4
notify-send 5
...produces these notification results:
1
2
3
4
5
Then setting the close_order option to "top" or "last" closes the oldest notification when dunstctl close is run:
1
2
3
4
5
While setting the close_order option to "bottom" or "first" closes the oldest notification when dunstctl close is run:
1
2
3
4
5