ENH use new screenlocker

This commit is contained in:
Nathan Dwarshuis 2023-01-17 22:46:22 -05:00
parent 2712ebdf37
commit 7d5a82bd07
1 changed files with 2 additions and 1 deletions

View File

@ -91,7 +91,8 @@ runAutolock = sometimesIO_ "automatic screen lock" "xss-lock" tree cmd
And_ (Only_ $ sysExe [Package Official "xss-lock"] "xss-lock") $
Only_ $
IOSometimes_ runScreenLock
cmd = P.proc "xss-lock" ["--ignore-sleep", "screenlock"] (P.startProcess . P.setCreateGroup True)
cmd = P.proc "xss-lock" args (P.startProcess . P.setCreateGroup True)
args = ["--ignore-sleep", "--", "screenlock", "true"]
--------------------------------------------------------------------------------
-- Confirmation prompts