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
Allow Windows key (winkey) in keyboard shortcuts #418
Comments
btw, a "toggle" command would be nice, so only one shortcut key is needed. |
Toggling is not possible because of how AutoDarkMode works. The only way to make this work is to enable toggling hotkeys if automatic theme switching is disabled, but there's so much feature creep in the app already. What is on the radar would be something like "force theme until next sunrise/sunset", but no details on this yet. We can't allow the Windows hotkey, as per default with the library we use, it isn't defined as a modifier key. Thanks for you suggestions nonetheless! |
All clear, thanks for the prompt response and you folks' work! |
I see indeed that a pure toggle is not compatible with time-based switching. When Time is Disabled however, a pure toggle does make sense I'd say. |
Problem with existing ideaThe swapping logic is still available in the program, but it would require more work to actually re-implement it in the UI.
The most important thing is that if this gets implemented, there is zero confusion about what the toggle hotkey does. The usability of the feature must be guaranteed beyond its correct functionality. Proposal for new ideaThat being said, it would maybe make sense to include a hotkey that allows to toggle AutoThemeSwitching. That way, it would probably avoid lots of confusion while also allowing more functionality. |
That sounds excellent! |
That's requested in #439 btw 👍 |
I've made progress on this, you should now be able to set WinKeys in the UI as hotkeys. (available in latest beta) |
No updates in a while, seems like the win hotkey is now working as intended. Closing. |
Describe the enhancement or feature you'd like
Allow Windows key (winkey) in keyboard shortcuts
Describe alternatives you've considered
A shortcut without the winkey (eg ctrl-shift-alt-L or -D, for Light/Dark).
Thing is, lotsa shortcuts are already used, in vscode eg.
Plus, semantically, "Windows" works well as switching color mode is an OS wide setting.
Additional context
Currently, pressing a key combination in the shortcut input boxes in the settings dialog drops the Win key if it is present in the combination. The other modifiers are retained.
Btw, a thousand thanks for this well made app.
The text was updated successfully, but these errors were encountered: