picom: avoid painting shadow over dock or mpv window

This commit is contained in:
Vincent Bernat 2024-09-28 21:50:23 +02:00
parent 6ff1ce2640
commit 73c883b942

View file

@ -40,7 +40,7 @@ shadow-exclude-reg = "x@POLYBAR_HEIGHT@+0+0"
wintypes: wintypes:
{ {
normal = { shadow = true; }; normal = { shadow = true; };
dock = { shadow = true; }; dock = { shadow = true; clip-shadow-above = true; };
combo = { fade = true; }; combo = { fade = true; };
dropdown_menu = { fade = true; }; dropdown_menu = { fade = true; };
menu = { fade = true; }; menu = { fade = true; };
@ -66,6 +66,9 @@ shadow-exclude = [
"name = 'Firefox — Sharing Indicator'", # Firefox "name = 'Firefox — Sharing Indicator'", # Firefox
"name = 'Screen Sharing Tracker'" # Jitsi "name = 'Screen Sharing Tracker'" # Jitsi
]; ];
clip-shadow-above = [
"class_g = 'mpv'"
];
fade-exclude = [ ]; fade-exclude = [ ];
corner-radius = @CORNER_RADIUS@ corner-radius = @CORNER_RADIUS@