aboutsummaryrefslogtreecommitdiff
path: root/system/etc/pm/sleep.d/10lock
diff options
context:
space:
mode:
Diffstat (limited to 'system/etc/pm/sleep.d/10lock')
-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