Document {match,set}_transient

This commit is contained in:
Nikos Tsipinakis 2019-03-27 11:21:09 +02:00
parent 591c6f91f3
commit b940b2703c
2 changed files with 22 additions and 4 deletions

View File

@ -235,8 +235,8 @@ See TIME FORMAT for valid times.
Set to 0 to disable. Set to 0 to disable.
Transient notifications will ignore this setting and timeout anyway. A client can mark a notification as transient to bypass this setting and timeout
Use a rule overwriting with 'set_transient = no' to disable this behavior. anyway. Use a rule with 'set_transient = no' to disable this behavior.
=item B<font> (default: "Monospace 8") =item B<font> (default: "Monospace 8")
@ -624,6 +624,8 @@ Notifications can be matched for any of the following attributes:
=item C<icon> =item C<icon>
=item C<match_transient>
=item C<msg_urgency> =item C<msg_urgency>
=item C<stack_tag> =item C<stack_tag>
@ -670,6 +672,8 @@ The following attributes can be overridden:
=item C<set_stack_tag> =item C<set_stack_tag>
=item C<set_transient>
=item C<timeout> =item C<timeout>
=item C<urgency> =item C<urgency>

18
dunstrc
View File

@ -80,7 +80,8 @@
# Don't remove messages, if the user is idle (no mouse or keyboard input) # Don't remove messages, if the user is idle (no mouse or keyboard input)
# for longer than idle_threshold seconds. # for longer than idle_threshold seconds.
# Set to 0 to disable. # Set to 0 to disable.
# Transient notifications ignore this setting. # A client can set the 'transient' hint to bypass this. See the rules
# section for how to disable this if necessary
idle_threshold = 120 idle_threshold = 120
### Text ### ### Text ###
@ -304,6 +305,7 @@
# category # category
# desktop_entry # desktop_entry
# icon # icon
# match_transient
# msg_urgency # msg_urgency
# stack_tag # stack_tag
# summary # summary
@ -316,6 +318,7 @@
# fullscreen # fullscreen
# new_icon # new_icon
# set_stack_tag # set_stack_tag
# set_transient
# timeout # timeout
# urgency # urgency
# #
@ -337,13 +340,24 @@
# NOTE: It might be helpful to run dunst -print in a terminal in order # NOTE: It might be helpful to run dunst -print in a terminal in order
# to find fitting options for rules. # to find fitting options for rules.
# Disable the transient hint so that idle_threshold cannot be bypassed from the
# client
#[transient_disable]
# match_transient = yes
# set_transient = no
#
# Make the handling of transient notifications more strict by making them not
# be placed in history.
#[transient_history_ignore]
# match_transient = yes
# history_ignore = yes
# fullscreen values # fullscreen values
# show: show the notifications, regardless if there is a fullscreen window opened # show: show the notifications, regardless if there is a fullscreen window opened
# delay: displays the new notification, if there is no fullscreen window active # delay: displays the new notification, if there is no fullscreen window active
# If the notification is already drawn, it won't get undrawn. # If the notification is already drawn, it won't get undrawn.
# pushback: same as delay, but when switching into fullscreen, the notification will get # pushback: same as delay, but when switching into fullscreen, the notification will get
# withdrawn from screen again and will get delayed like a new notification # withdrawn from screen again and will get delayed like a new notification
#[fullscreen_delay_everything] #[fullscreen_delay_everything]
# fullscreen = delay # fullscreen = delay
#[fullscreen_show_critical] #[fullscreen_show_critical]