picom: add shadows

This commit is contained in:
Vincent Bernat 2021-11-01 14:18:48 +01:00
parent d6d0a470b0
commit 2abeb3f0bd
2 changed files with 6 additions and 1 deletions

2
config
View file

@ -22,7 +22,7 @@ client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
client.background #ffffff
# gaps
gaps inner 10
gaps inner 12
smart_gaps on
# audio

View file

@ -37,8 +37,13 @@ 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;
wintypes:
{
normal = { shadow = true; };
combo = { fade = true; };
dropdown_menu = { fade = true; };
menu = { fade = true; };