summaryrefslogtreecommitdiff
path: root/x11-misc/myi3lock/myi3lock-1.0-r1.ebuild
blob: 67fc781eb6181513f2c5f5a9142d2ac212f194ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
EAPI=7

DESCRIPTION="Script calling i3lock used to automate some tasks on lock"
HOMEPAGE="https://git.cynerd.cz"
S="${WORKDIR}"

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"
}