Bspwm: Compton opacity trouble

Created on 6 Jan 2018  路  2Comments  路  Source: baskerville/bspwm

I have these opacity rules in compton (among others):

inactive-opacity = 0.8;
active-opacity = 1;
mark-wmwin-focused = true;
mark-ovredir-focused = true;

However, this wasn't actually taking effect like I expected - inactive windows stayed at an opacity of 1. I found through #115 that setting

mark-ovredir-focused = false

sorta helped, but then I had the issue that rofi as well as my lockscreen (betterlockscreen) was always .8 transparent. I was able to add a rule to fix rofi, but i'm not sure if it's possible to add a rule for the lockscreen since to my knowledge it doesn't work like a window? (I wouldn't know how to inspect it with xprop in any case).

Was wondering if anyone knew why this happens and how to fix or mitigate this. I only ask since previously I had been using i3wm, where I had mark-ovredir-focused = true and inactive transparency worked without needing exceptions for rofi or the lockscreen.

Most helpful comment

For future reference, the rule that fixed rofi was adding "_NET_WM_NAME@:s = 'rofi'" to the focus-exclude list in compton.conf.

All 2 comments

Huh, guess the only _real_ persistent issue I had was the lock, and since I found betterlockscreen is just a wrapper around i3lock, I was able to add "name *?= 'i3lock'" to the focus-exclude list in compton.conf to resolve this.

For future reference, the rule that fixed rofi was adding "_NET_WM_NAME@:s = 'rofi'" to the focus-exclude list in compton.conf.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rien333 picture rien333  路  5Comments

kristoferus75 picture kristoferus75  路  4Comments

Th3Whit3Wolf picture Th3Whit3Wolf  路  4Comments

icf20 picture icf20  路  5Comments

JKomoroski picture JKomoroski  路  5Comments