From af4f2782bfbd434facffca49f99faee812598f08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 9 Aug 2018 13:03:04 +0200 Subject: sys-power/pm-i3lock: fix build --- sys-power/pm-i3lock/file/10lock | 13 ------------- sys-power/pm-i3lock/files/10lock | 13 +++++++++++++ 2 files changed, 13 insertions(+), 13 deletions(-) delete mode 100644 sys-power/pm-i3lock/file/10lock create mode 100755 sys-power/pm-i3lock/files/10lock (limited to 'sys-power/pm-i3lock') diff --git a/sys-power/pm-i3lock/file/10lock b/sys-power/pm-i3lock/file/10lock deleted file mode 100644 index 109dbfe..0000000 --- a/sys-power/pm-i3lock/file/10lock +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -# -# 10sleep: lock i3 season before suspend - -case "$1" in - hibernate|suspend) - for socket in $(find /run/user/*/i3 /tmp/i3-* -name ipc-socket\* 2>/dev/null); do - i3-msg -s $socket "exec i3lock-lnxpcs" - done - ;; - *) exit $NA - ;; -esac diff --git a/sys-power/pm-i3lock/files/10lock b/sys-power/pm-i3lock/files/10lock new file mode 100755 index 0000000..109dbfe --- /dev/null +++ b/sys-power/pm-i3lock/files/10lock @@ -0,0 +1,13 @@ +#!/bin/sh +# +# 10sleep: lock i3 season before suspend + +case "$1" in + hibernate|suspend) + for socket in $(find /run/user/*/i3 /tmp/i3-* -name ipc-socket\* 2>/dev/null); do + i3-msg -s $socket "exec i3lock-lnxpcs" + done + ;; + *) exit $NA + ;; +esac -- cgit v1.2.3