diff options
author | fluxgen <fluxgen> | 2003-09-07 19:51:59 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-09-07 19:51:59 (GMT) |
commit | 4fc020f11d62443080e4465d08a367b9c5868af1 (patch) | |
tree | b2e3358a45553e1042a8838050d3f72ef7aa5725 /util/startfluxbox.in | |
parent | 4022957c1f975f636825a005d3a74c22079e4c0b (diff) | |
download | fluxbox_pavel-4fc020f11d62443080e4465d08a367b9c5868af1.zip fluxbox_pavel-4fc020f11d62443080e4465d08a367b9c5868af1.tar.bz2 |
helper script for starting fluxbox
Diffstat (limited to 'util/startfluxbox.in')
-rwxr-xr-x | util/startfluxbox.in | 11 |
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 | ||
2 | if [ -e ~/.fluxbox/startup ];then | ||
3 | exec sh ~/.fluxbox/startup | ||
4 | else | ||
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 | ||
11 | fi | ||