Add documentation for fullscreen rules

This commit is contained in:
Benedikt Heine 2017-11-20 17:10:31 +01:00
parent f89ce8e16f
commit bbe262853a
3 changed files with 14 additions and 3 deletions

View File

@ -2,6 +2,10 @@
## Unreleased ## Unreleased
### Added
- `fullscreen` rule to hide notifications when a fullscreen window is active
## 1.3.0 - 2018-01-05 ## 1.3.0 - 2018-01-05
### Added ### Added

View File

@ -594,8 +594,9 @@ Shell-like globing is supported.
=item B<modifying> =item B<modifying>
The following attributes can be overridden: timeout, urgency, foreground, The following attributes can be overridden: timeout, urgency, foreground,
background, new_icon, set_transient, format where, as with the filtering attributes, background, new_icon, set_transient, format, fullscreen where,
each one corresponds to the respective notification attribute to be modified. as with the filtering attributes, each one corresponds to the respective
notification attribute to be modified.
As with filtering, to make a rule modify an attribute simply assign it in the As with filtering, to make a rule modify an attribute simply assign it in the
rule definition. rule definition.

View File

@ -279,7 +279,7 @@
# override settings for certain messages. # override settings for certain messages.
# Messages can be matched by "appname", "summary", "body", "icon", "category", # Messages can be matched by "appname", "summary", "body", "icon", "category",
# "msg_urgency" and you can override the "timeout", "urgency", "foreground", # "msg_urgency" and you can override the "timeout", "urgency", "foreground",
# "background", "new_icon" and "format". # "background", "new_icon" and "format", "fullscreen".
# Shell-like globbing will get expanded. # Shell-like globbing will get expanded.
# #
# SCRIPTING # SCRIPTING
@ -294,6 +294,12 @@
# 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.
#[fullscreen_delay_everything]
# fullscreen = delay
#[fullscreen_show_critical]
# msg_urgency = critical
# fullscreen = show
#[espeak] #[espeak]
# summary = "*" # summary = "*"
# script = dunst_espeak.sh # script = dunst_espeak.sh