Change default layer to overlay, add note about pushback

This commit is contained in:
fwsmit 2020-12-21 18:23:20 +01:00
parent 756f822a6b
commit 3441f4c68d
4 changed files with 9 additions and 6 deletions

View File

@ -126,7 +126,7 @@ struct settings defaults = {
.progress_bar = true, .progress_bar = true,
.layer = ZWLR_LAYER_SHELL_V1_LAYER_TOP, .layer = ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY,
}; };
struct rule default_rules[] = { struct rule default_rules[] = {

View File

@ -278,9 +278,12 @@ Place dunst notifications on the selected layer. Using overlay
will cause notifications to be displayed above fullscreen windows, though will cause notifications to be displayed above fullscreen windows, though
this may also occur at top depending on your compositor. this may also occur at top depending on your compositor.
In Wayland, Notifications won't be delayed when in fullscreen (like when
setting B<fullscreen> to pushback in X11). This is a Wayland limitation.
The bottom layer is below all windows and above the background. The bottom layer is below all windows and above the background.
Default: top Default: overlay
=item B<force_xwayland> (values: [true/false], default: false) (Wayland only) =item B<force_xwayland> (values: [true/false], default: false) (Wayland only)

View File

@ -250,9 +250,9 @@
### Wayland ### ### Wayland ###
# These settings are Wayland-specific. They have no effect when using X11 # These settings are Wayland-specific. They have no effect when using X11
# Uncomment this if you want to let notications appear over fullscreen # Uncomment this if you want to let notications appear under fullscreen
# notifications (default top) # applications (default: overlay)
# layer = overlay # layer = top
# Set this to true to use X11 output on Wayland. # Set this to true to use X11 output on Wayland.
force_xwayland = false force_xwayland = false

View File

@ -495,7 +495,7 @@ void load_settings(char *cmdline_config_path)
{ {
char *c = option_get_string( char *c = option_get_string(
"global", "global",
"layer", "-layer", "top", "layer", "-layer", "overlay",
"Select the layer where notifications should be placed" "Select the layer where notifications should be placed"
); );