From 1a28993ee0a633ddb5f6ed2467f530f7edaf7b0c Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Tue, 13 Mar 2012 20:20:00 -0400 Subject: Fixed broken autolock in xmonad --- .xmonad/xmonad.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index f91d78a..c0574d3 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -425,7 +425,7 @@ main = do , ((myMod, xK_F5), spawn "sleep 0.5 && xset dpms force off") , ((myMod, xK_F6), spawn "sleep 0.5 && /home/ryan/bin/icd") , ((myMod, xK_F7), spawn "sleep 0.5 && /home/ryan/bin/dpr") - , ((myMod, xK_l), spawn "xautolock -enable && xautolock -locknow") + , ((myMod, xK_l), spawn "xautolock -enable && sleep 1 && xautolock -locknow") , ((myMod .|. shiftMask, xK_l), spawn "xautolock -toggle") , ((myMod .|. myCtrl .|. shiftMask, xK_Right), sendMessage $ Move R) , ((myMod .|. myCtrl .|. shiftMask, xK_Left), sendMessage $ Move L) -- cgit v1.2.3