I've been struggling to undesrstand why i wasn't able to use write-events and grab-devices in place of grab.
The reason was I was using hotkey add twice with the same hotkey and netevent didn't processed the second one.
hotkey add DEVICE_NAME EVENT_X "COMMAND_1"
hotkey add DEVICE_NAME EVENT_X "COMMAND_2"
Then i realized that i could do something like:
hotkey add DEVICE_NAME EVENT_X "COMMAND_1 ; [..] ; COMMAND_N"
manpage didn't mention that :)
I've been struggling to undesrstand why i wasn't able to use write-events and grab-devices in place of grab.
The reason was I was using hotkey add twice with the same hotkey and netevent didn't processed the second one.
hotkey add DEVICE_NAME EVENT_X "COMMAND_1"
hotkey add DEVICE_NAME EVENT_X "COMMAND_2"
Then i realized that i could do something like:
hotkey add DEVICE_NAME EVENT_X "COMMAND_1 ; [..] ; COMMAND_N"
manpage didn't mention that :)