slitaz-configs rev 207

sts: we need lxpanel custom configs!
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 11 10:49:42 2014 +0200 (2014-04-11)
parents e31e21674208
children c4b498c6f50b
files sts/sts-session
line diff
     1.1 --- a/sts/sts-session	Fri Apr 11 09:00:18 2014 +0200
     1.2 +++ b/sts/sts-session	Fri Apr 11 10:49:42 2014 +0200
     1.3 @@ -9,17 +9,22 @@
     1.4  data="/usr/share/slitaz/sts"
     1.5  obconf="${XDG_CONFIG_HOME}/openbox"
     1.6  
     1.7 -# sts-rc.xml
     1.8 +# Ob sts-rc.xml
     1.9  if [ ! -f "${XDG_CONFIG_HOME}/openbox/sts-rc.xml" ]; then
    1.10  	mkdir -p ${obconf}
    1.11  	cp ${data}/openbox/sts-rc.xml ${obconf}
    1.12  fi
    1.13  
    1.14 -# sts-autostart
    1.15 +# Ob sts-autostart
    1.16  if [ ! -x "${XDG_CONFIG_HOME}/openbox/sts-autostart" ]; then
    1.17  	cp ${data}/openbox/sts-autostart ${obconf}
    1.18  fi
    1.19  
    1.20 +# LXpanel configs
    1.21 +if [ ! -d "${XDG_CONFIG_HOME}/openbox/lxpanel/sts" ]; then
    1.22 +	cp -rf ${data}/openbox/lxpanel ${XDG_CONFIG_HOME}
    1.23 +fi
    1.24 +
    1.25  # Start Openbox
    1.26  exec openbox \
    1.27  	--config-file ${XDG_CONFIG_HOME}/openbox/sts-rc.xml \