HotKey Daemon, simple hotkey daemon that woks using the evdev interface
Go to file
Alessandro Mauri 3bd678d48e case EOF is now checked only on x86 arches
This check causes problems on architectures where char is unsigned, thus
EOF which is a signed int has a value less of the minimum permitted by the type.
To be honest this check could just be avoided alltogether, maybe in the future.
2020-10-04 23:21:03 +02:00
tests testing new parser 2020-08-30 23:08:52 +02:00
.gitignore more readable gitignore 2020-08-30 23:07:35 +02:00
hkd.1 parse keys as case-insensitive 2020-09-28 22:47:59 +02:00
hkd.c case EOF is now checked only on x86 arches 2020-10-04 23:21:03 +02:00
LICENSE licensed under the MIT license 2020-07-29 12:04:02 +02:00
makefile make respects system compiler setting 2020-10-04 23:13:11 +02:00
README.md fix typo 2020-07-28 20:35:24 +02:00
template.conf finally decided the config style 2020-07-19 16:35:21 +02:00

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