diff options
author | Karel Kočí <cynerd@email.cz> | 2017-05-08 19:54:03 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2017-05-08 19:54:03 +0200 |
commit | d43f2b6bb8338f027857ee5c10014af47bd217b1 (patch) | |
tree | ac96c4ebc85d7c99457c7592e17117df077468ed /system/etc/pm/sleep.d/10lock | |
parent | e9112091089a8416fd7dc73b6220e6bdb66cc4ae (diff) | |
download | myconfigs-d43f2b6bb8338f027857ee5c10014af47bd217b1.tar.gz myconfigs-d43f2b6bb8338f027857ee5c10014af47bd217b1.tar.bz2 myconfigs-d43f2b6bb8338f027857ee5c10014af47bd217b1.zip |
Fix sleep screen lock
Diffstat (limited to 'system/etc/pm/sleep.d/10lock')
-rwxr-xr-x | system/etc/pm/sleep.d/10lock | 4 |
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 |