You are not logged in.

#1 2020-09-15 02:35:45

shoelesshunter
Member
Registered: 2014-05-18
Posts: 51

picom transparency rules

I want termite to be totally transparent while urxvt is 100% opaque, I have the following in my picom.conf

opacity-rule = ["99:class_g = 'URxvt'"];
opacity-rule = ["01:class_g = 'Termite'"];

However when picom restarts it complains about duplicate rules in the config and crashes.

What am I doing wrong?

Offline

#2 2020-09-15 05:46:31

seth
Member
Registered: 2012-09-03
Posts: 16,213

Re: picom transparency rules

man picom wrote:

       --opacity-rule OPACITY:'CONDITION'
           Specify a list of opacity rules, in the format PERCENT:PATTERN, like 50:name *= "Firefox". picom-trans is recommended over this. Note we don’t
           make any guarantee about possible conflicts with other programs that set _NET_WM_WINDOW_OPACITY on frame or client windows.

https://wiki.archlinux.org/index.php/Picom#Opacity

You're aware that  this will affect the text in termite as well?
Edit: https://wiki.archlinux.org/index.php/Te … ansparency

Last edited by seth (2020-09-15 05:47:02)

Offline

Board footer

Powered by FluxBB