From 8c1ee931b51faa7c0db7cf571512075490648c27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 16 Jan 2019 10:49:36 +0100 Subject: x11-misc/myi3lock: use elogind This tweaks myi3lock to use elogind. It no longer requires pm-utils and is locked with daemon waiting for logind event. --- x11-misc/myi3lock/files/pm-utils-lock | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100755 x11-misc/myi3lock/files/pm-utils-lock (limited to 'x11-misc/myi3lock/files') diff --git a/x11-misc/myi3lock/files/pm-utils-lock b/x11-misc/myi3lock/files/pm-utils-lock deleted file mode 100755 index 901b1b1..0000000 --- a/x11-misc/myi3lock/files/pm-utils-lock +++ /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 myi3lock" - done - ;; - *) exit $NA - ;; -esac -- cgit v1.2.3