Skip to content
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

Opacity #3

Open
slavaGanzin opened this issue Jul 18, 2021 · 3 comments
Open

Opacity #3

slavaGanzin opened this issue Jul 18, 2021 · 3 comments

Comments

@slavaGanzin
Copy link

Hello Sven, thanks for this project.

It would be great to have an opacity argument to get something like windows' cursor highlight mode: https://www.youtube.com/watch?v=NLFfz2ZS1Js

Like:

highlight-pointer --show-cursor --radius 50 --released-color '#ffcc00' --pressed-color '#ff0000' --opactity 0.5

Or maybe to use rgba colors in pressed/released-color argument.

I found this:
https://gist.github.com/ericek111/774a1661be69387de846f5f5a5977a46#file-xoverlay-cpp-L112

But I'm not good with X11 and C to port this from C++.

So, do you see this as a feature?

Thanks.

@swillner
Copy link
Owner

Hey Slava,

That would definitely be a great feature. I am not sure, if it's feasible with basic X11 (as it requires the window itself to be transparent rather than a shape drawn into the window). I will look into the _NET_WM_WINDOW_OPACITY, which seems to be supported by major window managers.

Thanks for the idea!

@lpanebr
Copy link

lpanebr commented Nov 20, 2021

I would also love that! Great app!

@gnomiik
Copy link

gnomiik commented Nov 28, 2021

This would be great to have and looking forward to it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants