erjiang / huion-keys

Linux program to create custom bindings for Huion tablet hotkeys
GNU General Public License v3.0
13 stars 4 forks source link

Reload config on SIGUSR1 #7

Closed NeoTheFox closed 3 years ago

NeoTheFox commented 3 years ago

This makes debugging and quick config adjustments much more pleasant. Now a user can issue a SIGUSR1 signal to the process to reload config without restarting the script. This can be bound to a hotkey, implemented in a bar like Polybar, and so on. Example: kill -s SIGUSR1 25061

erjiang commented 3 years ago

Thanks, LGTM!