From 65fb56510afb765944e82330545b9ee8f9ef547c Mon Sep 17 00:00:00 2001 From: Cori Barker Date: Sun, 22 Mar 2026 18:23:58 +0000 Subject: [xmonad] changed screen locking program from xlockmore to xsecurelock --- xmonad.hs | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'xmonad.hs') diff --git a/xmonad.hs b/xmonad.hs index ebd72a6..c27cafb 100644 --- a/xmonad.hs +++ b/xmonad.hs @@ -101,7 +101,7 @@ myKeys = , ("M-S-c", spawn "xmonad --recompile && xmonad --restart") , ("M-S-r", spawn "xmonad --restart") , ("M-S-e", io exitSuccess) - , ("M-S-x", lockScreen) + , ("M-S-x", spawn "xsecurelock") , ("M-j", windows W.focusDown) , ("M-k", windows W.focusUp) @@ -171,16 +171,6 @@ myLogHook fifo = dynamicLogWithPP $ def _ -> "?" } ------------------------------------------------------------------------- --- Lock screen helper function ------------------------------------------------------------------------- - -lockScreen :: X () -lockScreen = do - let modes = ["spiral", "space", "helix", "grav"] - i <- io $ randomRIO (0, length modes - 1) - spawn $ "xlock -mode " ++ (modes !! i) - ------------------------------------------------------------------------ -- Main ------------------------------------------------------------------------ -- cgit v1.2.3