baskerville/sxhkd

Recursion with xdotool key simulation.

pavvd opened this issue · 0 comments

pavvd commented

I'm using xdotool (3.20211022.1) inside sxhkd keybind to emulate key presses. But if the key I'm sending is also another sxhkd hotkey it gets triggered. Tbh this behavior kinda expected...

F1
    xdotool keyup F1 key --clearmodifiers F2

F2
    xdotool keyup F2 key --clearmodifiers F5

So pressing F1 would result in simulating F5 key press. Is there a way to make sxhkd ignore keys from xdotool (or other key emulating program)?