diff options
author | Erik Reider <[email protected]> | 2023-04-17 23:24:48 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2023-04-17 23:24:48 +0200 |
commit | cbfb7af7fd4728f993124e81f8666a2e8cee6085 (patch) | |
tree | 081e51028d59da49480be6bff9c580bbdadca9cd /include/sway/config.h | |
parent | 7d774f769cec2faec25d01120b05589a34b4eb0b (diff) |
Add kawase blur (#120)
Co-authored-by: Erik Reider <[email protected]>
Co-authored-by: Will McKinnon <[email protected]>
Diffstat (limited to 'include/sway/config.h')
-rw-r--r-- | include/sway/config.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index 2dc4b52d..cabc9cf5 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -470,23 +470,33 @@ enum xwayland_mode { XWAYLAND_MODE_IMMEDIATE, }; +struct blur_parameters { + int num_passes; + int radius; +}; + /** * The configuration struct. The result of loading a config file. */ struct sway_config { - // SwayFX config options int corner_radius; bool smart_corner_radius; + float default_dim_inactive; - // dim_inactive colors struct { float unfocused[4]; float urgent[4]; } dim_inactive_colors; + bool shadow_enabled; bool shadows_on_csd_enabled; int shadow_blur_sigma; float shadow_color[4]; + + bool blur_enabled; + bool blur_xray; + struct blur_parameters blur_params; + bool titlebar_separator; bool scratchpad_minimize; |