summarylogtreecommitdiffstats
path: root/obsession
diff options
context:
space:
mode:
Diffstat (limited to 'obsession')
-rwxr-xr-xobsession4
1 files changed, 3 insertions, 1 deletions
diff --git a/obsession b/obsession
index f97a3ee7eac9..ac8c1c76fa53 100755
--- a/obsession
+++ b/obsession
@@ -1,5 +1,7 @@
#!/bin/bash
-#An additional script for setting certain options; not necessarily limited to openbox sessions
+#An additional script for setting certain options
+
+[[ $(pidof openbox) ]] || exit
#Default, empty background comes out gray. Black is cooler.
[[ -n "$(command -v hsetroot)" ]] && exec hsetroot -solid "#000000"