hdlx / MacAppSwitcher

MacOS like application switcher for Windows
MIT License
15 stars 0 forks source link

Keybindings customization #2

Open mcrampon opened 1 month ago

mcrampon commented 1 month ago

Would be nice to be able to customize the keybindings. For instance, I'm used to Super+Tab instead of Alt+~ to switch between windows of a given app.

Perhaps a small config file living next to the exe would do the trick? Automatically created with default values when running the exe for the first time?

Very nice project otherwise, I've been dying to find something like that for a while.

hdlx commented 1 month ago

Hey, thanks for the feedback. This would be nice indeed, I'll add this :-)

hdlx commented 4 weeks ago

Just added this to the last release. Launching the exe should create a MacAppSwitcherConfig.txt file. The program must be relaunched to apply the new bindings. Supported keys and format are briefly presented inside the created txt file. It's a first draft, feedbacks are welcome :-)

mcrampon commented 4 days ago

Just tried it: works fine as far as I can see 👍 Thanks a bunch 🙇

EDIT: reopening. Looks like the window hold key is captured without pressing the window switch key. Eg. if I set the window hold key to left super, I can't use left super to open the windows start menu anymore. Potentially problematic 😅

Maybe the window swtich shouldn't exactly work the same way as the app swtich? In a sense, it doesn't really require holding because there is nothing to display. It's just a very normal combination of keys.

hdlx commented 1 day ago

Hey! Indeed, I overlooked the issue. I think I found a more robust solution. Key release only is bypassed now. This should let you use windows key as an "hold" key without interfering with start menu.

Maybe the window swtich shouldn't exactly work the same way as the app swtich? In a sense, it doesn't really require holding because there is nothing to display. It's just a very normal combination of keys.

Indeed, using a single key for this could work. Having a consistent behavior for "hold" key is still important as one might use window key for app switch, but from an UX perspective, it would be nice to have this option too :-)