aboutsummaryrefslogtreecommitdiff
path: root/system/etc/pm/sleep.d
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-05-08 19:54:03 +0200
committerKarel Kočí <cynerd@email.cz>2017-05-08 19:54:03 +0200
commitd43f2b6bb8338f027857ee5c10014af47bd217b1 (patch)
treeac96c4ebc85d7c99457c7592e17117df077468ed /system/etc/pm/sleep.d
parente9112091089a8416fd7dc73b6220e6bdb66cc4ae (diff)
downloadmyconfigs-d43f2b6bb8338f027857ee5c10014af47bd217b1.tar.gz
myconfigs-d43f2b6bb8338f027857ee5c10014af47bd217b1.tar.bz2
myconfigs-d43f2b6bb8338f027857ee5c10014af47bd217b1.zip
Fix sleep screen lock
Diffstat (limited to 'system/etc/pm/sleep.d')
-rwxr-xr-xsystem/etc/pm/sleep.d/10lock4
1 files 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