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

Enhancement: multiple invocation modes for single running instance #56

Closed
eater opened this issue Mar 26, 2018 · 2 comments
Closed

Enhancement: multiple invocation modes for single running instance #56

eater opened this issue Mar 26, 2018 · 2 comments

Comments

@eater
Copy link
Contributor

eater commented Mar 26, 2018

Currently, I start Alttab with the -d 2 switch to specify which workspaces I want it to handle, and that setting is set for the whole time Alttab runs.

It might allow more flexibility if options like -d 2, -d 0 etc. were not set in stone when the application starts, but each available depending on keystroke. For instance, alt-tab could be assigned to show a switcher of all desktops, alt-~ would show a switcher of just the current desktop, another key combo to list just scratchpad windows, and so forth.

That sort of configurability will become more useful if and when additional settings (for instance #55 ) are added to Alttab.

@sagb
Copy link
Owner

sagb commented Mar 27, 2018

If I introduce this, the code would be nearly the same as running two separate alttab instances. Why don't you do this? The configuration described above is achieved with:

alttab -d 1 &
alttab -d 0 -kk 0x60 &

@eater
Copy link
Contributor Author

eater commented Mar 27, 2018

Works for me! Thanks..

@sagb sagb closed this as completed Mar 28, 2018
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