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

Feature: Automatically calculate shift values #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

azureorangexyz
Copy link

Being a total python noob, I added one more dependency and an extra flag
--auto_shift to calculate shift values automatically.

This seems to work on my 1920x1080 monitor and maybe (probably not) makes this program less malicious.

--auto_shift to calculate shift values automatically.

This seems to work on my 1920x1080 monitor and maybe (probably not) makes
this program less malicious.
@azureorangexyz
Copy link
Author

Okay, it also works if I change my screen resolution to a different one with xrandr.
So it should work on different displays too.

I totally missed the part, where it's looping through a whole 360
degrees. So now it is fixed, but not very nicely. Will probably have
another look and write a second function for calculating the shift
values or so. Tomorrow.
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

Successfully merging this pull request may close these issues.

1 participant