May-16-2020, 11:49 PM
May-17-2020, 03:01 AM
For what purpose?
May-17-2020, 06:58 PM
I'm in Linux, should've mentioned that.
Anyhow, I want to setup custom rules in Picom, telling it to not apply transparency to windows with a certain classname. If you can rename window classes remotely, I can setup a keybinding in my i3 window manager, to apply it to whatever window I just clicked on.
Why?
For example: if I have browser open and a Netflix video playing, I don't necessarily want the background wallpaper showing through. Any other time, I want my browser to have the transparency.
Anyhow, I want to setup custom rules in Picom, telling it to not apply transparency to windows with a certain classname. If you can rename window classes remotely, I can setup a keybinding in my i3 window manager, to apply it to whatever window I just clicked on.
Why?
For example: if I have browser open and a Netflix video playing, I don't necessarily want the background wallpaper showing through. Any other time, I want my browser to have the transparency.
May-17-2020, 07:24 PM
So you want to rename your browser to something else based on what web page is loaded?
I'm going to show my ignorance here. I'm guessing you are writing a little program that checks if the window is a browser, finds out what web page is viewed, and then changes the name based on if the page is in some list of pages. Picom would then apply a transparency rule based on the name and if the window has focus. Wouldn't it be easier to just set the transparency directly?
I'm going to show my ignorance here. I'm guessing you are writing a little program that checks if the window is a browser, finds out what web page is viewed, and then changes the name based on if the page is in some list of pages. Picom would then apply a transparency rule based on the name and if the window has focus. Wouldn't it be easier to just set the transparency directly?
May-17-2020, 08:25 PM
From what I can tell ... It's all based on the windows classname. So, it's pretty generic. So, whatever you do "no transparency, transparency, different transparency level, etc ...", it'd be applied to all, for example, Google-chrome windows. That means, I can't check simply check, like the Window title for Netflix or Youtube or etc ...