aboutsummaryrefslogtreecommitdiff
path: root/system/etc/pm/sleep.d/10lock
diff options
context:
space:
mode:
Diffstat (limited to 'system/etc/pm/sleep.d/10lock')
-rwxr-xr-xsystem/etc/pm/sleep.d/10lock2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/etc/pm/sleep.d/10lock b/system/etc/pm/sleep.d/10lock
index da7c018..baddcb4 100755
--- a/system/etc/pm/sleep.d/10lock
+++ b/system/etc/pm/sleep.d/10lock
@@ -4,7 +4,7 @@
case "$1" in
hibernate|suspend)
- for socket in `find /run/user/*/i3 -name ipc-socket*`; do
+ for socket in `find /tmp/i3-* -name ipc-socket.*`; do
i3-msg -s $socket "exec i3lock -d -c 000000"
done
;;