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

Programmatically select region #136

Open
tobimensch opened this issue Jul 4, 2020 · 2 comments
Open

Programmatically select region #136

tobimensch opened this issue Jul 4, 2020 · 2 comments

Comments

@tobimensch
Copy link

Hey,

just learned about slop, installed it from Fedora repositories, and now I dig it.

This could come in really handy for me, if it was possible to select a region from the
command line, for example like this:
slop --region x1,y1,x2,y2
And preventing the mouse from changing or closing the region.
slop --region x1,y1,x2,y2 --nomouse
Then I could programmatically close it with killall slop.

I want this so I can use slop to show the user to which part of the screen he should pay attention and similar stuff.

Kind Regards.

@noscript
Copy link

This would be very handy, I'm also looking for a possibility to draw a persistent overlay rectangle on the screen.

@bakkeby
Copy link

bakkeby commented Feb 13, 2021

On the same topic I think it would be useful to be able to set the starting position for the mouse (i.e. the first click) via a parameter. The reasoning is that if you were to have a script that is triggered via a mouse click then you could (re-)use that position rather than forcing the user to click again for the slop starting position.

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

3 participants