From: Simon Ruderich Date: Wed, 15 May 2013 20:09:27 +0000 (+0200) Subject: xmonad/xmonad.hs: Use exec xtrlock in mod-z mapping. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=a5474464c43acbd5ac410ea6b87dfd72a296ea35;p=config%2Fdotfiles.git xmonad/xmonad.hs: Use exec xtrlock in mod-z mapping. Prevents an unnecessary shell process while xtrlock is running. --- diff --git a/xmonad/xmonad.hs b/xmonad/xmonad.hs index e35caf8..daa2c5a 100644 --- a/xmonad/xmonad.hs +++ b/xmonad/xmonad.hs @@ -179,7 +179,7 @@ myKeys = [ -- Lock the screen. The sleep is necessary to allow xtrlock to grab the -- keyboard input. - , ((myModMask, xK_z), spawn "sleep 1 && xtrlock") + , ((myModMask, xK_z), spawn "sleep 1 && exec xtrlock") ] ++ -- When using multiple screens, switching to another workspace causes