ENH use new screenlocker
This commit is contained in:
parent
2712ebdf37
commit
7d5a82bd07
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue