X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=xmonad%2Fxmonad.hs;h=daa2c5a929f22b4ca61d87492d15350a0727f605;hb=7e67171f8481db2487eac3aab41fe7771bc2e1d8;hp=26d0b3fd3a1831ffa9a1e6d212c85507ec7e8cd6;hpb=68549fc3a717992a4ca4ca8aed7d9d71a3219e62;p=config%2Fdotfiles.git diff --git a/xmonad/xmonad.hs b/xmonad/xmonad.hs index 26d0b3f..daa2c5a 100644 --- a/xmonad/xmonad.hs +++ b/xmonad/xmonad.hs @@ -176,6 +176,10 @@ myKeys = [ -- 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