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

How to cycle back to first desktop when at the last? #28

Open
gaberiel44 opened this issue Jan 18, 2023 · 4 comments
Open

How to cycle back to first desktop when at the last? #28

gaberiel44 opened this issue Jan 18, 2023 · 4 comments

Comments

@gaberiel44
Copy link

Hello,

I have been using this tool and thus far I really like it, thanks for making it!

One thing that is proving to be a pain.

When moving active window to previous\next desktops. Its possible to cycle back to first, if at the last desktop.

The program is smart enough to recognise that when I am at the last desktop it will move the window to the first desktop.

Is it possible to do this when switching virtual desktops? so that if I am at the last desktop, invoking next desktop will go to the first desktop.

Looking at the examples provided I was not able to find this functionality.
Thanks!

FuPeiJiang added a commit that referenced this issue Jan 18, 2023
@FuPeiJiang
Copy link
Owner

It wasn't possible, I thought only MoveWindowToRelativeDesktopNum() was needed since only that was specifically requested without requesting both MoveWindowToRelativeDesktopNum() and gotoRelativeDesktopNum()

@gaberiel44
Copy link
Author

I see, well can I make request for this feature I am asking about then? I sorely need it please consider it. Thanks.

@FuPeiJiang
Copy link
Owner

FuPeiJiang commented Jan 18, 2023

FuPeiJiang added a commit that referenced this issue 4 hours ago

if you see this above my message, it means I added it (I guess it's an indirect way of saying: I added it), you just need to update/redownload

I also added this to README.md:

; wrapping / cycle back to first desktop when at the last
^#left::VD.goToRelativeDesktopNum(-1)
^#right::VD.goToRelativeDesktopNum(+1)

@gaberiel44
Copy link
Author

Amazing! Thank you so much for implementing this request. Its sooo much better now!

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

2 participants