Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phenax/shotkey
A simple and lightweight hotkey daemon for X with configurable custom modes and key chords (in ~200 LOC)
https://github.com/phenax/shotkey
hotkey modes suckless x11
Last synced: about 1 month ago
JSON representation
A simple and lightweight hotkey daemon for X with configurable custom modes and key chords (in ~200 LOC)
- Host: GitHub
- URL: https://github.com/phenax/shotkey
- Owner: phenax
- Created: 2020-06-19T14:08:02.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-29T08:42:52.000Z (about 2 months ago)
- Last Synced: 2024-10-29T09:56:25.816Z (about 2 months ago)
- Topics: hotkey, modes, suckless, x11
- Language: C
- Homepage:
- Size: 47.9 KB
- Stars: 43
- Watchers: 5
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# SHotKey
A Simple Hot Key daemon for X inspired by the suckless philosophy with configurable custom modes.~200 LOC. ~20KB binary.
## Installation
Clone the repo and run (May need `sudo`)
```bash
make install
```## Configuring
Fork this repo and configure it to your likings.
You can edit `config.h` to configure key bindings.* `shell` - Configure the shell used for executing the commands
* `modes` - A mapping defining all mode keys bindings
* `keys` - All normal mode key bindings
* `on_mode_change` - Hook script to listen to mode changes. Useful for status bar integration
* `mode_properties` - Some meta information about mode. (Label is useful for `on_mode_change`)You can checkout the [personal branch](https://github.com/phenax/shotkey/tree/personal) for my personal config.
Read the man page for more details.