From 86872dab2bfbb6aad93d566e66ddbb7bce5fd1f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 10 Aug 2017 11:42:08 +0200 Subject: Fix suspend lock --- system/etc/pm/sleep.d/10lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/etc/pm/sleep.d/10lock') 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 ;; -- cgit v1.2.3