[compton] Add shadows

This commit is contained in:
M1dgard 2019-03-01 17:36:55 +01:00
parent 8a25de3d11
commit 9727d5db69
Signed by untrusted user who does not match committer: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -56,21 +56,19 @@ glx-swap-method = "undefined";
################################# #################################
# Enabled client-side shadows on windows. # Enabled client-side shadows on windows.
shadow = false; shadow = true;
# Don't draw shadows on DND windows. # Don't draw shadows on DND windows.
no-dnd-shadow = true; no-dnd-shadow = true;
# Avoid drawing shadows on dock/panel windows. # Avoid drawing shadows on dock/panel windows.
no-dock-shadow = true; no-dock-shadow = true;
# Zero the part of the shadow's mask behind the window. Fix some weirdness with ARGB windows.
clear-shadow = true;
# The blur radius for shadows. (default 12) # The blur radius for shadows. (default 12)
shadow-radius = 5; shadow-radius = 10;
# The left offset for shadows. (default -15) # The left offset for shadows. (default -15)
shadow-offset-x = -5; shadow-offset-x = 0;
# The top offset for shadows. (default -15) # The top offset for shadows. (default -15)
shadow-offset-y = -5; shadow-offset-y = 0;
# The translucency for shadows. (default .75) # The translucency for shadows. (default .75)
shadow-opacity = 0.5; shadow-opacity = 0.25;
# Set if you want different colour shadows # Set if you want different colour shadows
# shadow-red = 0.0; # shadow-red = 0.0;