picom: Adjust shadow alignment/size

Picom can now accurately draw shadows (again?) so tweak them so they're
horizontally centred and slightly below the window so they look
aesthetically pleasing.

Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
2022-08-31 20:43:26 +00:00
parent 499b044fea
commit fa136cbd2a
+5 -5
View File
@@ -4,10 +4,10 @@ log-level = "info";
# Shadow
shadow = true;
shadow-radius = 24;
shadow-offset-x = -20;
shadow-offset-y = -20;
shadow-opacity = 0.3;
shadow-radius = 30;
shadow-offset-x = -30;
shadow-offset-y = -26;
shadow-opacity = 0.35;
shadow-color = "#000000";
shadow-exclude = [
"class_g = 'slop'",
@@ -60,7 +60,7 @@ corner-radius = 9;
# Fading
fading = true;
fade-delta = 10;
fade-in-step = 0.04
fade-in-step = 0.035;
fade-out-step = 0.06;
no-fading-openclose = false;
no-fading-destroyed-argb = false;