diff options
author | Erik Reider <[email protected]> | 2023-05-19 21:14:06 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2023-05-19 21:14:06 +0200 |
commit | 415e072a3af292937f0b4c41acadafaee6958437 (patch) | |
tree | 354de329d9cbf66054260d50aebefd86a26d5055 /sway/sway.5.scd | |
parent | 67078429428f0a97333c107da8a3ad8fb678a602 (diff) |
Add blur, shadow, and corner radius to layer-shell surfaces (#144)
Co-authored-by: Will McKinnon <[email protected]>
Diffstat (limited to 'sway/sway.5.scd')
-rw-r--r-- | sway/sway.5.scd | 19 |
1 files changed, 19 insertions, 0 deletions
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* <layer-namespace> <effects> + Apply effects on specific layer shell surfaces, eg "waybar" or "rofi". + At least one effect needs to be provided. The <layer-namespace> can be + gotten through *sway-ipc*. Note: Surfaces in the _bottom_ layer cannot + use these effects. + + Effects: + - *blur* <enable|disable> + - *shadows* <enable|disable> + - *corner_radius* <integer> + + 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 <amount> Sets default _amount_ pixels of _inner_ or _outer_ gap, where the inner affects spacing around each view and outer affects the spacing around each |