9
votes
1answer
529 views

How can I change the behavior of hotkeys in xmonad if the program is running?

I'm using a few key mappings in my xmonad.hs configuration file: ... , modMask = mod4Mask -- Rebind Mod to the Windows key ... [ ((controlMask, xK_Print), spawn "sleep 0.2; scrot -s") , ...