aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsystem/etc/pm/sleep.d/10lock4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/etc/pm/sleep.d/10lock b/system/etc/pm/sleep.d/10lock
index da7c018..4f67652 100755
--- a/system/etc/pm/sleep.d/10lock
+++ b/system/etc/pm/sleep.d/10lock
@@ -4,8 +4,8 @@
case "$1" in
hibernate|suspend)
- for socket in `find /run/user/*/i3 -name ipc-socket*`; do
- i3-msg -s $socket "exec i3lock -d -c 000000"
+ for socket in `find /tmp/i3-* -name ipc-socket*`; do
+ i3-msg -s $socket "exec i3lock -c 000000"
done
;;
*) exit $NA