diff options
author | Que Quotion | 2018-06-04 17:30:43 +0900 |
---|---|---|
committer | Que Quotion | 2018-06-04 17:30:43 +0900 |
commit | 32e66176a689613102fc3a1d8ab880305b69baea (patch) | |
tree | 5bce948ec0a6de8875c575533e5056696280882d | |
parent | f7fb2bc00ea815d37b41c29d851107bb66e7d6d8 (diff) | |
download | aur-32e66176a689613102fc3a1d8ab880305b69baea.tar.gz |
Add hsetroot as optdepends() for obsession
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 5 | ||||
-rwxr-xr-x | obsession | 2 |
3 files changed, 6 insertions, 6 deletions
@@ -1,9 +1,7 @@ -# Generated by mksrcinfo v8 -# Mon Jan 8 15:17:11 UTC 2018 pkgbase = pantheon-lite pkgdesc = Pantheon Lite Session (replaces Gala with Openbox & Compton) pkgver = 3 - pkgrel = 5 + pkgrel = 6 url = https://bbs.archlinux.org/viewtopic.php?pid=1402016#p1402016 arch = i686 arch = x86_64 @@ -17,6 +15,7 @@ pkgbase = pantheon-lite depends = wingpanel-standalone-git optdepends = obconf: openbox configuration utility optdepends = elementary-os-openbox: Elementary theme for Openbox + optdepends = hsetroot: Set X11 background provides = pantheon-lite source = pantheon-openbox.desktop source = pantheon-openbox.session @@ -4,7 +4,7 @@ pkgname=pantheon-lite pkgver=3 -pkgrel=5 +pkgrel=6 pkgdesc='Pantheon Lite Session (replaces Gala with Openbox & Compton)' arch=('i686' 'x86_64') url='https://bbs.archlinux.org/viewtopic.php?pid=1402016#p1402016' @@ -13,7 +13,8 @@ groups=('pantheon-qq') depends=('openbox' 'compton' 'pantheon-workarounds' 'plank' 'cerbere' 'wingpanel-standalone-git') optdepends=("obconf: openbox configuration utility" - "elementary-os-openbox: Elementary theme for Openbox") + "elementary-os-openbox: Elementary theme for Openbox" + "hsetroot: Set X11 background") provides=("pantheon-lite") conflicts=() source=(pantheon-openbox.{desktop,session} diff --git a/obsession b/obsession index 6706ec99da0e..f97a3ee7eac9 100755 --- a/obsession +++ b/obsession @@ -2,4 +2,4 @@ #An additional script for setting certain options; not necessarily limited to openbox sessions #Default, empty background comes out gray. Black is cooler. -hsetroot -solid "#000000" +[[ -n "$(command -v hsetroot)" ]] && exec hsetroot -solid "#000000" |