From af3e1da60a57109f54c6de03fc1c09b0be0e9400 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Mon, 1 Nov 2021 14:33:51 +0100 Subject: [PATCH] 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. --- dotfiles/picom.conf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dotfiles/picom.conf b/dotfiles/picom.conf index 89cfe7a..5874ab5 100644 --- a/dotfiles/picom.conf +++ b/dotfiles/picom.conf @@ -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; };