From 7d5a82bd07091093ad2752ec5a025967a103d340 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Tue, 17 Jan 2023 22:46:22 -0500 Subject: [PATCH] ENH use new screenlocker --- lib/XMonad/Internal/Command/Power.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/XMonad/Internal/Command/Power.hs b/lib/XMonad/Internal/Command/Power.hs index b324339..c8ddca6 100644 --- a/lib/XMonad/Internal/Command/Power.hs +++ b/lib/XMonad/Internal/Command/Power.hs @@ -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