I'd like to learn how to trigger something in my debian box on double-tap of a key (let's say l-shift). My setup is X11 based. Should I look into doing in my MW (xmonad) or on a lower level? Forgive my ignorance, but I'm used to windows and the wonderful autohotkey. Why? To remap ctrl to capslock, and have capslock on double-tap of l-shift.