-- Switch to last active workspace, thanks to moljac024 in #xmonad on
-- Freenode (2010-12-18 14:45 CET).
, ((myModMask, xK_f), toggleWS)
+
+ -- Lock the screen. The sleep is necessary to allow xtrlock to grab the
+ -- keyboard input.
+ , ((myModMask, xK_z), spawn "sleep 1 && exec xtrlock")
]
++
-- When using multiple screens, switching to another workspace causes