aboutsummaryrefslogtreecommitdiff
path: root/system/etc
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-01-06 10:58:16 +0100
committerKarel Kočí <cynerd@email.cz>2018-01-06 10:58:16 +0100
commitf847b4ebb1554f74808b155d9f16f703415d6821 (patch)
treed02bf30e32ff94f4b3d605928acb706f88694c9c /system/etc
parenta12db5d06ead397c3a4232e1bbac68748f02704b (diff)
downloadmyconfigs-f847b4ebb1554f74808b155d9f16f703415d6821.tar.gz
myconfigs-f847b4ebb1554f74808b155d9f16f703415d6821.tar.bz2
myconfigs-f847b4ebb1554f74808b155d9f16f703415d6821.zip
Revert "Fix suspend lock"
This reverts commit 86872dab2bfbb6aad93d566e66ddbb7bce5fd1f1.
Diffstat (limited to 'system/etc')
-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 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
;;