Add option for enabling shadows for CSD windows (#106)

* Add option for enabling shadows for CSD windows

* Disable drawing borders when CSD and shadows csd is enabled
This commit is contained in:
Erik Reider 2023-02-01 01:13:04 +01:00 committed by GitHub
parent 9345749a90
commit 3efd3b558f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 37 additions and 3 deletions

View file

@ -181,6 +181,7 @@ sway_cmd cmd_shortcuts_inhibitor;
sway_cmd cmd_shadow_blur_radius;
sway_cmd cmd_shadow_color;
sway_cmd cmd_shadows;
sway_cmd cmd_shadows_on_csd;
sway_cmd cmd_show_marks;
sway_cmd cmd_smart_borders;
sway_cmd cmd_smart_corner_radius;

View file

@ -484,6 +484,7 @@ struct sway_config {
float urgent[4];
} dim_inactive_colors;
bool shadow_enabled;
bool shadows_on_csd_enabled;
int shadow_blur_sigma;
float shadow_color[4];