HotKey Daemon, simple hotkey daemon that woks using the evdev interface
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Alessandro Mauri e14049d5b6 fixed invalid free() and missing break; 4 years ago
tests modified parser to suit new config format 4 years ago
.gitignore added man page for hkd 4 years ago
LICENSE licensed under the MIT license 4 years ago
README.md fix typo 4 years ago
hkd.1 added -c option 4 years ago
hkd.c fixed invalid free() and missing break; 4 years ago
makefile install, uninstall and version 4 years ago
template.conf finally decided the config style 4 years ago

README.md

hkd: hotkey deamon

hkd allows to define system-wide hotkeys independent from the graphical session, this means, that hotkeys will work in x11, wayland and even in a tty.

Compatibility

hkd only works on linux as it uses the linux-specific epoll and inotify APIs as well as the evdev interface for input recognition.

Compiling

hkd doesn't require any libraries and has no dependency other than a standard C library, musl should work too (altough I have not yet tested it).

Run make to compile, make clean to remove the mess and make debug to compile a debug binary to use with gdb. To install run make install and make uninstall if you re done with it.

Documentation

The man page is (at least in my opinion) pretty simple and explanatory, the program itself is very small (under 600 loc excluding comments and blanks) and the config file is documented trough an example. That said if I recive enough requests for further documentation I'll provide it.

Similar projects

triggerhappy