picom: make shadows not overlap on polybar

The easy solution would have been `shadow-exclude-reg = "x27+0+0"`,
but polybar dimension depends on the number of DPI.
This commit is contained in:
Vincent Bernat 2021-11-01 14:33:51 +01:00
parent 2abeb3f0bd
commit af3e1da60a

View file

@ -37,13 +37,14 @@ opacity-rule = [
# Shadow and fading
fade-in-step = 0.08;
fade-out-step = 0.08;
shadow-opacity = 0.9;
shadow-radius = 15;
shadow-offset-x = -15;
shadow-offset-y = -15;
shadow-opacity = 0.3;
shadow-radius = 10;
shadow-offset-x = -3;
shadow-offset-y = -3;
wintypes:
{
normal = { shadow = true; };
dock = { shadow = true; };
combo = { fade = true; };
dropdown_menu = { fade = true; };
menu = { fade = true; };