-
Notifications
You must be signed in to change notification settings - Fork 55
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
Preview windows when alt-tabbing #140
Preview windows when alt-tabbing #140
Conversation
After pressing `Alt+Tab` but before releasing `Alt`, a semi-transparent popup visualizes the window stack and previews the next windows that each additional `Tab` press would select. Meanwhile, each real window change is instantly performed behind the popup. Idea & implementation credit: @danisla
4782e59
to
6db97d3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks awesome!
The only tiny complaint I have is about the javascript coding style.
And since my Javascript is terrible anyway, that's more of a wish than anything.
const preview_element = $('#window_preview'); | ||
|
||
preview_element.on('init', (e, slick) => { | ||
if (init_cb) init_cb(e, slick); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For styling consistency, please use curly brackets and split this line.
This may be a silly question, but how do you prevent the OS from trapping Alt+Tab? |
…al_alt_tab Preview windows when alt-tabbing
After pressing
Alt+Tab
but before releasingAlt
, a semi-transparent popup visualizes the window stack and previews the next windows that each additionalTab
press would select. Meanwhile, each real window change is instantly performed behind the popup.Idea & implementation credit: @danisla