From d43f2b6bb8338f027857ee5c10014af47bd217b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 8 May 2017 19:54:03 +0200 Subject: Fix sleep screen lock --- system/etc/pm/sleep.d/10lock | 4 ++-- 1 file 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 -- cgit v1.2.3