aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-08-10 11:42:08 +0200
committerKarel Kočí <cynerd@email.cz>2017-08-10 11:42:08 +0200
commit86872dab2bfbb6aad93d566e66ddbb7bce5fd1f1 (patch)
tree299c7d4e2d2f84fe70b01734a92b72af3932a391
parent42e1df975edd0f4b5ef1959f4684d526a02cabef (diff)
downloadmyconfigs-86872dab2bfbb6aad93d566e66ddbb7bce5fd1f1.tar.gz
myconfigs-86872dab2bfbb6aad93d566e66ddbb7bce5fd1f1.tar.bz2
myconfigs-86872dab2bfbb6aad93d566e66ddbb7bce5fd1f1.zip
Fix suspend lock
-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
;;