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

Get the global hotkeys working #29

Open
Vadoola opened this issue Nov 20, 2023 · 3 comments
Open

Get the global hotkeys working #29

Vadoola opened this issue Nov 20, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Vadoola
Copy link
Owner

Vadoola commented Nov 20, 2023

No description provided.

@Vadoola Vadoola added the enhancement New feature or request label Nov 20, 2023
@Vadoola Vadoola added this to the 1.0 milestone Nov 20, 2023
@Vadoola Vadoola self-assigned this Nov 20, 2023
@Vadoola
Copy link
Owner Author

Vadoola commented Dec 29, 2023

Initial support for this was added in commit c6a2fbd.

I'm leaving this open for now, because it needs to be tested on Linux / X11, and if possible MacOS.

Also until tauri-apps/global-hotkey#28 is resolved, it won't work under Wayland.

In addition the hot key commands can't be customized and are locked to Control+F1, Control+F2, and Control+F3 currently.

@Vadoola
Copy link
Owner Author

Vadoola commented Jan 23, 2024

I have started a discussion on the Slint project, about how to handle determining which function key is pressed using FocusScope: slint-ui/slint#4401

@Vadoola
Copy link
Owner Author

Vadoola commented Feb 10, 2024

Commit 9f31a1c, added support for saving and restoring the global hotkeys to the settings file.

Still some more work to do

  • actually update the hotkey when I change the hotkey setting (right now its set to the default Ctrl-Fx keys at start up and doesn't change)
  • add logic to check if the hotkey is already used and reject it (either because its already assigned to another hotkey in Tomotroid or elsewhere)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant