aboutsummaryrefslogtreecommitdiff
path: root/system/etc/pm
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2017-08-15 13:01:34 +0200
committerKarel Kočí <karel.koci@nic.cz>2017-08-15 13:01:34 +0200
commit91f745b19d9e38b65103fb22b84fd246d84a5aff (patch)
tree49042df4e4aa8fc8ca07cd866bb9a326eb4a167b /system/etc/pm
parente60d83bc996080630961b87d9a4c4d28f91fd1b1 (diff)
parentd4177b26ddef38c6773116c34dfa6cb59c368bb9 (diff)
downloadmyconfigs-91f745b19d9e38b65103fb22b84fd246d84a5aff.tar.gz
myconfigs-91f745b19d9e38b65103fb22b84fd246d84a5aff.tar.bz2
myconfigs-91f745b19d9e38b65103fb22b84fd246d84a5aff.zip
Merge branch 'master' into server
Diffstat (limited to 'system/etc/pm')
-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 4f67652..baddcb4 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 /tmp/i3-* -name ipc-socket*`; do
- i3-msg -s $socket "exec i3lock -c 000000"
+ for socket in `find /tmp/i3-* -name ipc-socket.*`; do
+ i3-msg -s $socket "exec i3lock -d -c 000000"
done
;;
*) exit $NA