]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
xmonad/xmonad.hs: Use exec xtrlock in mod-z mapping.
authorSimon Ruderich <simon@ruderich.org>
Wed, 15 May 2013 20:09:27 +0000 (22:09 +0200)
committerSimon Ruderich <simon@ruderich.org>
Wed, 15 May 2013 20:09:27 +0000 (22:09 +0200)
Prevents an unnecessary shell process while xtrlock is running.

xmonad/xmonad.hs

index e35caf8ae16065faba87e6f2298296194165829e..daa2c5a929f22b4ca61d87492d15350a0727f605 100644 (file)
@@ -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