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

[TODO] Implement hotkeys feature #7

Open
0Ky opened this issue Oct 10, 2023 · 0 comments
Open

[TODO] Implement hotkeys feature #7

0Ky opened this issue Oct 10, 2023 · 0 comments
Labels
hacktoberfest Issues for Hacktoberfest! 📝 TODO Something that needs to be done

Comments

@0Ky
Copy link
Owner

0Ky commented Oct 10, 2023

The current behavior is that the PrintScreen key is hardcoded to call region_selection_window() function that takes a single screenshot.

Instead, upon initialization of the application, it should read settings[1] and apply hotkeys from it, you will need to handle errors, such as conflicting hotkey from another application.

  • In the web frontend (UI) work with Framework7 to implement hotkey input fields for video capture Start/Stop, Screenshot and Quickshot.
  • In the frontend create a function to capture a hotkey upon pressing the input field in the hotkey section.
  • The captured/changed hotkeys should be sent to the backend (Rust) using invoke() to process the changes (apply them) after user clicks on save[2] button from the frontend.

[1] The "settings" is a file created using the Tauri Plugin Store which is not yet implemented, it relates to issue #6
[2] The save/discard buttons for the frontend UI will most likely be implemented after #6

@0Ky 0Ky added 📝 TODO Something that needs to be done hacktoberfest Issues for Hacktoberfest! labels Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest Issues for Hacktoberfest! 📝 TODO Something that needs to be done
Projects
None yet
Development

No branches or pull requests

2 participants
@0Ky and others