-
-
Notifications
You must be signed in to change notification settings - Fork 138
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
Use 32bit-deep drawables #152
Conversation
Looks interesting. I'll review and test everything. |
Would we be able to have an option to keep the screen static as well? |
Not if you want to let the compositing manager do it. You can still use |
@bendardenne |
Which compositor are you using? Maybe I should clarify the idea, which is only to introduce transparency in i3lock. To get transparent windows, you need a compositor running. Then, some compositors (compton & forks) can be configured so that when they see transparency, they don't just apply transparency but also do blurring when they composethe window with whatever is behind. So efficient blurring comes as a bonus of having true transparency within i3lock, if you use a compositor which can do blurring. |
Ohh I see. That makes so much sense. I'm not using any compositor that I know of, just KDE Plasma/kwin. Can you add a section to the manpage right under the 4-bit alpha to describe compositors and which ones work? Thanks. Also... in my case, how would I get and use a compositor? |
Sure I'll add some explanations to the documentation. I don't know anything about kwin to be honest. From some quick googling, kwin handles compositing itself but I don't know if/how you could get this to work with it. Maybe first try to get regular windows transparent, like konsole or whichever terminal you use. |
Konsole and other windows work with transparency. Honestly I have no idea how kwin does it, I don't play around with compositors nearly enough to be familiar. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Could you provide an example how to produce the desired effect with compton? From my understanding it should be possible to utilize compton even if not used normally. Screenshot based blurring have been quite slow for me (1 UHD, 1 FHD Screen), while using compton works without any noticeable delay. As a workaround, as I do not use a composite manager atm, I use the following:
This starts compton together with i3lock-color and terminates compton when i3lock returns. |
This allows setting a background color with an alpha channel.
In combination with compton, this allows for fast blurring (by just setting a transparent color and letting compton do the blurring).