Make running i3lock unaware of the location of i3lock

Right now this works fine, but once I remove ‘/usr/bin/i3lock’ and install it
with Guix the path will change completely.
This commit is contained in:
Tom Willemse 2023-03-16 22:22:32 -07:00
parent 7d079e8973
commit 826e0c6943

View file

@ -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))