From 0968820c97f51b0244f080c94cc460530e9f563f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 3 Sep 2018 00:43:48 +0200 Subject: x11-themes/background-lnxpcs: fix install --- x11-themes/background-lnxpcs/background-lnxpcs-0.3.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'x11-themes') diff --git a/x11-themes/background-lnxpcs/background-lnxpcs-0.3.ebuild b/x11-themes/background-lnxpcs/background-lnxpcs-0.3.ebuild index 4187865..511ee9d 100644 --- a/x11-themes/background-lnxpcs/background-lnxpcs-0.3.ebuild +++ b/x11-themes/background-lnxpcs/background-lnxpcs-0.3.ebuild @@ -30,9 +30,13 @@ src_compile() { } src_install() { + local RES="1920x1080" + if use 1440p; then + RES="2560x1440" + fi insinto "/usr/share/backgrounds" for IMG in $WALLPAPERS; do - doins "$IMG-card-black-1920x1080.png" + doins "$IMG-card-black-$RES.png" done dobin "${FILESDIR}/i3background" dobin "${FILESDIR}/i3lock-lnxpcs" -- cgit v1.2.3