https://github.com/lbrndnr/hotkeyd
Simple and hackable global keyboard shortcuts for macOS.
https://github.com/lbrndnr/hotkeyd
daemon keyboard macos shortcuts
Last synced: 3 months ago
JSON representation
Simple and hackable global keyboard shortcuts for macOS.
- Host: GitHub
- URL: https://github.com/lbrndnr/hotkeyd
- Owner: lbrndnr
- License: mit
- Created: 2023-06-11T12:13:09.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-15T09:28:56.000Z (about 3 years ago)
- Last Synced: 2025-01-13T03:29:59.649Z (over 1 year ago)
- Topics: daemon, keyboard, macos, shortcuts
- Language: Rust
- Homepage:
- Size: 27.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hotkeyd
`hotkeyd` allows you to easily register global keyboard shortcuts. It's designed to be lightweight and easily extensible. It currently supports macOS, but should be up and running on Linux or Windows relatively quickly.
## Usage
First, define a profile in your home directory. This example profile opens Visual Studio Code when pressing `⌥V`.
```
[
{
"key": "v",
"modifiers": ["alt"],
"command": "open /Applications/Visual\\ Studio\\ Code.app"
}
]
```
Next, run `hotkeyd`. It will ask you for the Accessibility permission, which is necessary on macOS to observe the keyboard.
## License
`hotkeyd` is licensed under the [MIT License](http://opensource.org/licenses/mit-license.php).