aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2005-11-13 21:30:45 (GMT)
committerfluxgen <fluxgen>2005-11-13 21:30:45 (GMT)
commit7768406cbd290c4eda40e194fc24e3dfbf7f8b9a (patch)
tree678858390e07b1c89f42b584b3abe11abfbca378 /util
parentbf7902dae8c43ad4cb62a1b2791eb706612c8e28 (diff)
downloadfluxbox-7768406cbd290c4eda40e194fc24e3dfbf7f8b9a.zip
fluxbox-7768406cbd290c4eda40e194fc24e3dfbf7f8b9a.tar.bz2
create .fluxbox directory and lastwallpaper file if they dont exist
Diffstat (limited to 'util')
-rw-r--r--util/fbsetbg5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/fbsetbg b/util/fbsetbg
index eaa1f9d..8f77f52 100644
--- a/util/fbsetbg
+++ b/util/fbsetbg
@@ -199,6 +199,11 @@ if [ $# -eq 0 ]; then
199 exit 1 199 exit 1
200fi 200fi
201 201
202# create directory and last wallpaper file
203if [ ! -d ~/.fluxbox ]; then
204 mkdir ~/.fluxbox
205 touch ${lastwallpaper}
206fi
202 207
203unset debug setterfromcommandline 208unset debug setterfromcommandline
204# Parse command-line options 209# Parse command-line options