| Crates.io | blukey |
| lib.rs | blukey |
| version | 0.0.2-rc0 |
| created_at | 2024-12-07 11:11:34.890216+00 |
| updated_at | 2024-12-08 16:10:35.32667+00 |
| description | A Linux daemon for creating custom keyboard shortcuts that can execute shell commands. |
| homepage | https://github.com/shashankx86/blukey |
| repository | https://github.com/shashankx86/blukey |
| max_upload_size | |
| id | 1475523 |
| size | 50,539 |
A CLI to set your custom key combo to perform custom key actions.
cargo install blukey
blukey <COMMAND>
Commands:
start Start the keyboard monitor
stop Stop the daemon
key Manage key combinations
config-path Show config file location
Key Commands:
key new Register a new key combination
key list List all registered key combinations
sudo blukey key new
# Follow the prompts to press keys and enter command
sudo blukey start
blukey key list
Configuration is stored in ~/.blukey.json. The format is:
{
"DEMON": false,
"KEYS": {
"KEY_LEFTCTRL+KEY_C": "echo 'Ctrl+C pressed'"
}
}
MIT License - See LICENSE for details.