baskerville / sxhkd

Simple X hotkey daemon
BSD 2-Clause "Simplified" License
2.79k stars 138 forks source link

Unable to lock daemon properly #193

Open Iss-in opened 4 years ago

Iss-in commented 4 years ago

I am locking sxhkd daemon with keybind which should disable all keybind until I press F6 and display the notification after unlocking. super + g: F6 notify-send "nokey mode exit" && pkill -ALRM sxhkd Initially it works well, but after a while daemon restore itself with all the keybinds working, even without showing the above notification. Any idea why this is happening ?

bricewge commented 3 years ago

SIGALRM is used to end abort a chord as documented in #170. SIGSTOP and SIGCONT should be what your are looking for, but it doesn't seems to fully disable sxhkd on my end.