summaryrefslogtreecommitdiff
path: root/sys-power/pm-i3lock/pm-i3lock-1.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-power/pm-i3lock/pm-i3lock-1.0.ebuild')
-rw-r--r--sys-power/pm-i3lock/pm-i3lock-1.0.ebuild18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys-power/pm-i3lock/pm-i3lock-1.0.ebuild b/sys-power/pm-i3lock/pm-i3lock-1.0.ebuild
new file mode 100644
index 0000000..e8e9072
--- /dev/null
+++ b/sys-power/pm-i3lock/pm-i3lock-1.0.ebuild
@@ -0,0 +1,18 @@
+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"
+}