From a5474464c43acbd5ac410ea6b87dfd72a296ea35 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Wed, 15 May 2013 22:09:27 +0200 Subject: [PATCH] xmonad/xmonad.hs: Use exec xtrlock in mod-z mapping. Prevents an unnecessary shell process while xtrlock is running. --- xmonad/xmonad.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.44.1