From de5791ddb42d5b609b6b2d2e0c03f6524f12647c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 8 Oct 2018 11:16:26 +0200 Subject: Reimplement i3lock script handling Now there is central package for my specific i3lock script and pm trigger. Package background-lnxpcs is not solely for images and background. --- sys-power/pm-i3lock/files/10lock | 13 ------------- sys-power/pm-i3lock/pm-i3lock-1.0.ebuild | 18 ------------------ 2 files changed, 31 deletions(-) delete mode 100755 sys-power/pm-i3lock/files/10lock delete mode 100644 sys-power/pm-i3lock/pm-i3lock-1.0.ebuild (limited to 'sys-power') diff --git a/sys-power/pm-i3lock/files/10lock b/sys-power/pm-i3lock/files/10lock deleted file mode 100755 index 109dbfe..0000000 --- a/sys-power/pm-i3lock/files/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/pm-i3lock-1.0.ebuild b/sys-power/pm-i3lock/pm-i3lock-1.0.ebuild deleted file mode 100644 index e8e9072..0000000 --- a/sys-power/pm-i3lock/pm-i3lock-1.0.ebuild +++ /dev/null @@ -1,18 +0,0 @@ -EAPI=6 - -DESCRIPTION="pm-utils hook to lock all i3 sessions on suspend" -HOMEPAGE="http://git.cynerd.cz/gentoo-personal-overlay/" -S="${WORKDIR}" - -LICENSE="GPL-3.0+" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=" - x11-misc/i3lock - sys-power/pm-utils" - -src_install() { - exeinto /etc/pm/sleep.d - doexe "${FILESDIR}/10lock" -} -- cgit v1.2.3