diff options
| author | Cori Barker <coribarker2@gmail.com> | 2026-03-22 18:23:58 +0000 |
|---|---|---|
| committer | Cori Barker <coribarker2@gmail.com> | 2026-03-22 18:23:58 +0000 |
| commit | 65fb56510afb765944e82330545b9ee8f9ef547c (patch) | |
| tree | 6091b25291185db679383166b8fcd3b513e422d2 | |
| parent | edd6f1f722dd4dcf59a3e74786b8c39847d7ec5a (diff) | |
[xmonad] changed screen locking program from xlockmore to xsecurelock
| -rw-r--r-- | xmonad.hs | 12 |
1 files changed, 1 insertions, 11 deletions
@@ -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) @@ -172,16 +172,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 ------------------------------------------------------------------------ |
