-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow list for opacity #6
Comments
I've toyed with something along these lines here: #7 - you need to find proper criteria for the windows you want to skip setting opacity for. Please try it out. |
For example, skip setting any opacity for all firefox windows would look like this:
The -s option can be specified multiple times. |
This works! Out of curiosity what's preventing the PR from getting merged? |
Mostly I just wanted you to try it out since I'm not sure I will use this functionality. |
Yeah it works as expected |
Actually there are some issues. It doesn't seem to work while using autolayout and workspace renaming ~/.local/share/cargo/bin/persway -a -w -o0.8 -s 'app_id="firefox"' - s 'app_id="mpv"'
```
Opacity stays at 0.8 for all non skipped windows |
Seems you've got an issue with your command line, that last "- s" should be "-s". Alternatively you could do this: persway -a -w -o0.8 -s 'app_id="firefox"' 'app_id="mpv"' The extra space in your cmdline makes persway execute some quite odd commands which leads to opacity staying at 0.8 for all non-skipped windows. |
Sorry that's my fault should have double check before I posted. |
It would be nice to allow certain application to be exempt from opacity change when they lose focus. I watch sometimes videos with mpv in one split and program in another split. I would prefer to keep mpv's opacity at
1.0
when it's not in focusThe text was updated successfully, but these errors were encountered: