summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorQue Quotion2018-06-04 17:30:43 +0900
committerQue Quotion2018-06-04 17:30:43 +0900
commit32e66176a689613102fc3a1d8ab880305b69baea (patch)
tree5bce948ec0a6de8875c575533e5056696280882d
parentf7fb2bc00ea815d37b41c29d851107bb66e7d6d8 (diff)
downloadaur-32e66176a689613102fc3a1d8ab880305b69baea.tar.gz
Add hsetroot as optdepends() for obsession
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD5
-rwxr-xr-xobsession2
3 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 03ef7c2f0884..df3c6fc91bda 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 085761354fe8..1f86cefe8081 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"