From f847b4ebb1554f74808b155d9f16f703415d6821 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 6 Jan 2018 10:58:16 +0100 Subject: Revert "Fix suspend lock" This reverts commit 86872dab2bfbb6aad93d566e66ddbb7bce5fd1f1. --- system/etc/pm/sleep.d/10lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/etc/pm') diff --git a/system/etc/pm/sleep.d/10lock b/system/etc/pm/sleep.d/10lock index baddcb4..da7c018 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 /tmp/i3-* -name ipc-socket.*`; do + for socket in `find /run/user/*/i3 -name ipc-socket*`; do i3-msg -s $socket "exec i3lock -d -c 000000" done ;; -- cgit v1.2.3