Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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)

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.

Buy Me A Coffee donate button

## 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.