Update docs

Document new mouse actions in dunstrc and docs/dunst.5.pod.
This commit is contained in:
Lukas Radermacher 2021-04-05 20:31:23 +02:00
parent b66f8f362d
commit 941c527af9
2 changed files with 11 additions and 1 deletions

View File

@ -511,7 +511,7 @@ single notification.
To avoid the corners clipping the icon or text the corner radius will be To avoid the corners clipping the icon or text the corner radius will be
automatically lowered to half of the notification height if it exceeds it. automatically lowered to half of the notification height if it exceeds it.
=item B<mouse_left/middle/right_click> (values: [none/do_action/close_current/close_all]) =item B<mouse_left/middle/right_click> (values: [none/do_action/close_current/close_all/context/context_all])
Defines action of mouse click. A touch input in Wayland acts as a mouse left Defines action of mouse click. A touch input in Wayland acts as a mouse left
click. click.
@ -534,6 +534,14 @@ Close current notification.
Close all notifications. Close all notifications.
=item B<context>
Open context menu for the notification.
=item B<context_all>
Open context menu for all notifications.
=back =back

View File

@ -281,6 +281,8 @@
# invoke it. If there are multiple and no default, open the context menu. # invoke it. If there are multiple and no default, open the context menu.
# * close_current: Close current notification. # * close_current: Close current notification.
# * close_all: Close all notifications. # * close_all: Close all notifications.
# * context: Open context menu for the notification.
# * context_all: Open context menu for all notifications.
# These values can be strung together for each mouse event, and # These values can be strung together for each mouse event, and
# will be executed in sequence. # will be executed in sequence.
mouse_left_click = close_current mouse_left_click = close_current