Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.

Keyboard Shortcuts Needed #4

Closed
liolok opened this issue Aug 22, 2018 · 3 comments
Closed

Keyboard Shortcuts Needed #4

liolok opened this issue Aug 22, 2018 · 3 comments

Comments

@liolok
Copy link

liolok commented Aug 22, 2018

For now there are Toggle overview, Run command and Show desktop available, I take that as no keyboard shortcuts. Please tell me how to make it through the Run command option if I'm wrong.

What I really need is a keyboard shortcut like Alt + Tab, to switch in the most recent two windows fast. BTW isn't the Toggle overview equals to Win/Super key?

Anyway, thanks a lot for your work, without this extension there would be no other choices on hot corner stuff.

@janxyz
Copy link
Owner

janxyz commented Aug 22, 2018

I'm sorry, currently I don't have any time to test things out but if you don't use Wayland you might be able to do what you want with Run command and xdotool.

@liolok
Copy link
Author

liolok commented Aug 22, 2018

@janxyz I see, I'll check on xdotool later, thanks again. ❤️

@liolok
Copy link
Author

liolok commented Sep 4, 2018

After two weeks I finally recalled to google xdotool alt tab and found a workaround in this comment this answer. For now, it seems just perfect enough to me.
Here is the code for /home/username/.switchWindow.sh.

#!/bin/sh
xdotool keydown alt key Tab; sleep 0.1; xdotool keyup alt

And in our extension's config just use Run Command and input /home/username/.switchWindow.sh.

@liolok liolok closed this as completed Sep 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants