# HG changeset patch # User Christophe Lincoln # Date 1397206182 -7200 # Node ID 4913405db8f3e69b34bfded26ae27de69b5850f8 # Parent e31e2167420829c44bb167634a606bf9932a0b37 sts: we need lxpanel custom configs! diff -r e31e21674208 -r 4913405db8f3 sts/sts-session --- a/sts/sts-session Fri Apr 11 09:00:18 2014 +0200 +++ b/sts/sts-session Fri Apr 11 10:49:42 2014 +0200 @@ -9,17 +9,22 @@ data="/usr/share/slitaz/sts" obconf="${XDG_CONFIG_HOME}/openbox" -# sts-rc.xml +# Ob sts-rc.xml if [ ! -f "${XDG_CONFIG_HOME}/openbox/sts-rc.xml" ]; then mkdir -p ${obconf} cp ${data}/openbox/sts-rc.xml ${obconf} fi -# sts-autostart +# Ob sts-autostart if [ ! -x "${XDG_CONFIG_HOME}/openbox/sts-autostart" ]; then cp ${data}/openbox/sts-autostart ${obconf} fi +# LXpanel configs +if [ ! -d "${XDG_CONFIG_HOME}/openbox/lxpanel/sts" ]; then + cp -rf ${data}/openbox/lxpanel ${XDG_CONFIG_HOME} +fi + # Start Openbox exec openbox \ --config-file ${XDG_CONFIG_HOME}/openbox/sts-rc.xml \