summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutil/startfluxbox.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/util/startfluxbox.in b/util/startfluxbox.in
new file mode 100755
index 0000000..f3ba2f9
--- /dev/null
+++ b/util/startfluxbox.in
@@ -0,0 +1,11 @@
1#!/bin/sh
2if [ -e ~/.fluxbox/startup ];then
3 exec sh ~/.fluxbox/startup
4else
5 if [ ! -d ~/.fluxbox ];then
6 mkdir -p ~/.fluxbox/{backgrounds,styles}
7 fi
8 cp @pkgdatadir@/startup ~/.fluxbox
9 @pkgbindir@/bsetroot -solid Black
10 exec @pkgbindir@/fluxbox
11fi