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

Allow the screen to be moved to a different monitor in a reverse direction #25

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

Conversation

ErbaZZ
Copy link

@ErbaZZ ErbaZZ commented Jun 21, 2022

Originally, the nextscreen binding can only move a screen to the next monitor in one direction only. For people with 3 or more monitors, this can be an annoyance when a screen is moved past their "intended" monitor, since they need to go through all the other monitors again.

This tiny PR adds a new "previousscreen" binding to support the moving of a screen in a reverse direction.

Changes:

  • Remove the hardcoded animation duration on _moveNextScreenStep
  • Rename _moveNextScreenStep function to _moveScreenStep and add a direction argument
  • Add previousscreen key binding
  • Add shortcut and description to README.md

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.

None yet

1 participant