You are not logged in.

#1 2025-09-23 10:44:54

Picnic
Member
From: Digital Bath
Registered: 2025-09-20
Posts: 8

No shadow around Chrome window

I've noticed that Google Chrome doesn't use the window shadows configured in picom.conf. Is there something in Chrome's settings that might be preventing this? Transparency itself works fine, though. I'm using the BL Boron.

Regards, Picnic

Offline

#2 2025-09-23 14:19:54

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,084
Website

Re: No shadow around Chrome window

Looks like Chrom{e,ium} is deliberately excluded from the shadow effects:

https://github.com/BunsenLabs/bunsen-co … #L102-L103

Edit the relevant lines in ~/.config/picom.conf to change this but be aware that the devs may have had a good reason to apply that configuration OOTB. The shadows are excluded to prevent visual glitches, according to the comments in the linked source code.

Last edited by Head_on_a_Stick (2025-09-23 14:27:52)

Offline

#3 2025-09-23 23:37:03

Picnic
Member
From: Digital Bath
Registered: 2025-09-20
Posts: 8

Re: No shadow around Chrome window

I've already tried disabling those lines there. It works for VLC, for example, but Chrom/Chromium doesn't show any change.

Offline

#4 2025-09-24 02:10:06

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,629

Re: No shadow around Chrome window

Change these lines:

"name *= 'Chromium'",
"name *= 'Chrome'",

to

"class_g = 'Chromium'",
"class_g = 'Chrome'",

and see if that works.

You can use xprop to get the name and class of chromium.


You must unlearn what you have learned.
    -- yoda

Online

#5 2025-09-26 09:07:42

Picnic
Member
From: Digital Bath
Registered: 2025-09-20
Posts: 8

Re: No shadow around Chrome window

@PackRat thx now it works.

Last edited by Picnic (2025-09-26 09:08:36)

Offline

Board footer

Powered by FluxBB