diff --git a/config.h b/config.h index 09c75ae..e268d7b 100644 --- a/config.h +++ b/config.h @@ -126,7 +126,7 @@ struct settings defaults = { .progress_bar = true, -.layer = ZWLR_LAYER_SHELL_V1_LAYER_TOP, +.layer = ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY, }; struct rule default_rules[] = { diff --git a/docs/dunst.pod b/docs/dunst.pod index afedf98..0497382 100644 --- a/docs/dunst.pod +++ b/docs/dunst.pod @@ -278,9 +278,12 @@ Place dunst notifications on the selected layer. Using overlay will cause notifications to be displayed above fullscreen windows, though this may also occur at top depending on your compositor. +In Wayland, Notifications won't be delayed when in fullscreen (like when +setting B to pushback in X11). This is a Wayland limitation. + The bottom layer is below all windows and above the background. -Default: top +Default: overlay =item B (values: [true/false], default: false) (Wayland only) diff --git a/dunstrc b/dunstrc index 90aa2a8..7cf7e6b 100644 --- a/dunstrc +++ b/dunstrc @@ -250,9 +250,9 @@ ### Wayland ### # These settings are Wayland-specific. They have no effect when using X11 - # Uncomment this if you want to let notications appear over fullscreen - # notifications (default top) - # layer = overlay + # Uncomment this if you want to let notications appear under fullscreen + # applications (default: overlay) + # layer = top # Set this to true to use X11 output on Wayland. force_xwayland = false diff --git a/src/settings.c b/src/settings.c index 16e22b2..0fa140f 100644 --- a/src/settings.c +++ b/src/settings.c @@ -495,7 +495,7 @@ void load_settings(char *cmdline_config_path) { char *c = option_get_string( "global", - "layer", "-layer", "top", + "layer", "-layer", "overlay", "Select the layer where notifications should be placed" );