summaryrefslogtreecommitdiff
path: root/x11-misc/myi3lock/myi3lock-1.0-r1.ebuild
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2018-10-08 11:16:26 +0200
committerKarel Kočí <karel.koci@nic.cz>2018-10-08 11:16:26 +0200
commitde5791ddb42d5b609b6b2d2e0c03f6524f12647c (patch)
tree0037c231a7f063501cf96dfa5f0cc621369c7a1b /x11-misc/myi3lock/myi3lock-1.0-r1.ebuild
parent2b0cc4d4d1532bfddc753b038e1e8a51e3dd02b8 (diff)
downloadgentoo-personal-overlay-de5791ddb42d5b609b6b2d2e0c03f6524f12647c.tar.gz
gentoo-personal-overlay-de5791ddb42d5b609b6b2d2e0c03f6524f12647c.tar.bz2
gentoo-personal-overlay-de5791ddb42d5b609b6b2d2e0c03f6524f12647c.zip
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.
Diffstat (limited to 'x11-misc/myi3lock/myi3lock-1.0-r1.ebuild')
-rw-r--r--x11-misc/myi3lock/myi3lock-1.0-r1.ebuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/x11-misc/myi3lock/myi3lock-1.0-r1.ebuild b/x11-misc/myi3lock/myi3lock-1.0-r1.ebuild
new file mode 100644
index 0000000..89dc0b0
--- /dev/null
+++ b/x11-misc/myi3lock/myi3lock-1.0-r1.ebuild
@@ -0,0 +1,22 @@
+EAPI=7
+
+DESCRIPTION="Script calling i3lock used to automate some tasks on lock"
+HOMEPAGE="https://git.cynerd.cz"
+
+LICENSE="GPL-3.0+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ x11-misc/i3lock
+ x11-themes/background-lnxpcs
+ sys-power/pm-utils
+ x11-wm/i3"
+BDEPEND=""
+
+src_install() {
+ dobin "${FILESDIR}/myi3lock"
+
+ exeinto /etc/pm/sleep.d
+ newexe "${FILESDIR}/pm-utils-lock" "10lock"
+}