question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Provide "Toggle" option, to toggle between 2 virtual Desktops

See original GitHub issue

Great project this. Actually found because I needed to switch quickly between two virtual desktop with the same shortcut. But this feature seems to be lacking.

So my feature request is to add an option (maybe call it “Toggle”) to actually toggle between 2 Virtual Desktops. So if the current desktop is the first, then the second will be selected and vice-versa. Unsure what to do if there are 3 or more desktops.

I implemented this myself (in less than 10 lines) and it works great. Implemented this in pipeline mode, changing rc variable. So in order to use this feature: VirtualDesktop /gcd /toggle /s

What do you think?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
widaviescommented, Feb 17, 2023

@ruggi99

I added an update to my solution here https://github.com/widavies/WinJump that allows you to customize the shortcut and also adds in a toggle feature.

I think I agree with @MScholtes here that the toggle function doesn’t necessarily belong in the VirtualDesktop library, it belongs more in the calling utility. In any case, you can give me library a shot and see what you think.

0reactions
MScholtescommented, Dec 30, 2022

Hello @ruggi99,

I suggest dropping the toggle option if you found another way. I then think about whether I can extend the calc option so that special requirements can also be met.

Greetings

Markus

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Quickly Switch Between Virtual Desktops on ...
To quickly switch between virtual desktops in Windows 10 with a keyboard shortcut, press Windows+Ctrl+Left Arrow to switch to a lower-numbered ...
Read more >
Keyboard shortcut for changing virtual desktops does not ...
According to documentation, Windows Key + Ctrl + Left Arrow and Windows Key + Ctrl + Right should cycle (edit:) switch between virtual...
Read more >
Change shortcut to switch between Virtual Desktops in ...
The default keyboard shortcut to switch between virtual desktops is Ctrl + WinKey + Left or the Right Arrow key.
Read more >
Switch Between Multiple Desktops in Windows 11 Tutorial
+ Ctrl + Right Arrow keys to switch between desktops to the right in order. Option Two. Switch Between Multiple Desktops from Task...
Read more >
Windows 10 gesture to switch between virtual desktops
You can switch between the desktops using the Task view or using Ctrl + Windows + Left / Right .
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found