From 826e0c69433e358df3dc1d057975eb882009b7a9 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 16 Mar 2023 22:22:32 -0700 Subject: [PATCH] Make running i3lock unaware of the location of i3lock MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Right now this works fine, but once I remove ‘/usr/bin/i3lock’ and install it with Guix the path will change completely. --- oni/home/services/stumpwm/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oni/home/services/stumpwm/config b/oni/home/services/stumpwm/config index 544096c..ac26c9f 100644 --- a/oni/home/services/stumpwm/config +++ b/oni/home/services/stumpwm/config @@ -22,7 +22,7 @@ Run `*screen-locking-hook*' before locking it and run `*screen-unlocked-hook*' after it has been unlocked." (run-hook *screen-locking-hook*) (sb-ext:run-program - "/usr/bin/i3lock" '("--nofork" "--color=000000") + *shell-program* '("-c" "i3lock" "--nofork" "--color=000000") :wait nil :status-hook #'run-screen-unlocked-hook))