Shotkey
A simple and lightweight hotkey daemon for X with configurable custom modes and key chords (in ~200 LOC)
Install / Use
/learn @phenax/ShotkeyREADME
SHotKey
A Simple Hot Key daemon for X inspired by the suckless philosophy with configurable custom modes.
~200 LOC. ~20KB binary.
<a href="https://www.buymeacoffee.com/phenax"><img src="https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg?style=flat-square" alt="Buy Me A Coffee donate button" /></a>
Installation
Clone the repo and run (May need sudo)
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 commandsmodes- A mapping defining all mode keys bindingskeys- All normal mode key bindingson_mode_change- Hook script to listen to mode changes. Useful for status bar integrationmode_properties- Some meta information about mode. (Label is useful foron_mode_change)
You can checkout the personal branch for my personal config.
Read the man page for more details.
