Skip to content

Axorax/keylock

Repository files navigation

keylock

Lock your keys with ease

💠 Preview

🎛️ Config File

You can make a file called keylock.toml in the directory where the executable is. It will be used by the app to load the settings. All config options are:

[general]
unlock = "ctrl+q"     - Shortcut to unlock (examples: ctrl+q, alt+s, shift+ctrl+q)
refresh_rate = 1500   - Check for lock state every x milliseconds (integer only)
quit_after = "never"  - Exit app after some time ("never" or milliseconds as integer, e.g. 5000)

[startup]
lock_keyboard = false - Lock keyboard on launch (true or false)
lock_mouse = false    - Lock mouse on launch (true or false)

Important

The "Mouse lock" button is a bit buggy. When you lock only mouse, if exit shortcut has "ctrl" then you can only use a-z characters and nothing else. This is not an issue when you lock only keyboard or both.


Support me on PatreonCheck out my socials

About

Lock your keys with ease

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Contributors