eksime / VDesk

Launch programs on new virtual desktops.
GNU General Public License v3.0
641 stars 57 forks source link

Needed virtual desktop switcher #43

Closed siddhantrimal closed 6 years ago

siddhantrimal commented 7 years ago
vdesk on:2 switch:true

This is a feature request

Please add something like this on the next release. Basically, I just want to switch to another Virtual Desktop after running all the necessary commands. As you've mentioned in your doc that chrome, skype and the likes face problems with the noswitch:true switch, this could be a workaround.

I've been using a workaround vdesk on:2 run:temp.bat which exits as soon as it runs.

exit

In some cases, I found out that it needs a way to wait. so a /wait delimiter would also be appreciated.

Much appreciation for your great work - fellow recent vdesk user

eksime commented 6 years ago

Swapping to a virtual desktop can be done using the following:

vdesk x

I had missed it when writing up the documentation, but it should allow you to include it in a batch script after any previous commands.