From 415e072a3af292937f0b4c41acadafaee6958437 Mon Sep 17 00:00:00 2001 From: Erik Reider <35975961+ErikReider@users.noreply.github.com> Date: Fri, 19 May 2023 21:14:06 +0200 Subject: Add blur, shadow, and corner radius to layer-shell surfaces (#144) Co-authored-by: Will McKinnon --- sway/sway.5.scd | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'sway/sway.5.scd') diff --git a/sway/sway.5.scd b/sway/sway.5.scd index 2288346b..06c27900 100644 --- a/sway/sway.5.scd +++ b/sway/sway.5.scd @@ -787,6 +787,25 @@ The default colors are: Whenever a window that matches _criteria_ appears, run list of commands. See *CRITERIA* for more details. +*layer_effects* + Apply effects on specific layer shell surfaces, eg "waybar" or "rofi". + At least one effect needs to be provided. The can be + gotten through *sway-ipc*. Note: Surfaces in the _bottom_ layer cannot + use these effects. + + Effects: + - *blur* + - *shadows* + - *corner_radius* + + Example: + + layer_effects "waybar" blur enable; shadows enable; corner_radius 6 + + SwayIPC Example: + + swaymsg "layer_effects 'waybar' 'blur enable; shadows enable'" + *gaps* inner|outer|horizontal|vertical|top|right|bottom|left Sets default _amount_ pixels of _inner_ or _outer_ gap, where the inner affects spacing around each view and outer affects the spacing around each -- cgit v1.2.3