Skip to content

[TODO] Implement hotkeys feature #7

@0Ky

Description

@0Ky

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    hacktoberfestIssues for Hacktoberfest!📝 TODOSomething that needs to be done

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions