diff --git a/CHANGELOG.md b/CHANGELOG.md index 3602a69..3d74192 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Added + +- `fullscreen` rule to hide notifications when a fullscreen window is active + ## 1.3.0 - 2018-01-05 ### Added diff --git a/docs/dunst.pod b/docs/dunst.pod index d2c7a0b..24636ab 100644 --- a/docs/dunst.pod +++ b/docs/dunst.pod @@ -594,8 +594,9 @@ Shell-like globing is supported. =item B The following attributes can be overridden: timeout, urgency, foreground, -background, new_icon, set_transient, format where, as with the filtering attributes, -each one corresponds to the respective notification attribute to be modified. +background, new_icon, set_transient, format, fullscreen where, +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 rule definition. diff --git a/dunstrc b/dunstrc index 0f4c4aa..ed8e4c6 100644 --- a/dunstrc +++ b/dunstrc @@ -279,7 +279,7 @@ # override settings for certain messages. # Messages can be matched by "appname", "summary", "body", "icon", "category", # "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. # # SCRIPTING @@ -294,6 +294,12 @@ # NOTE: It might be helpful to run dunst -print in a terminal in order # to find fitting options for rules. +#[fullscreen_delay_everything] +# fullscreen = delay +#[fullscreen_show_critical] +# msg_urgency = critical +# fullscreen = show + #[espeak] # summary = "*" # script = dunst_espeak.sh