sts diff sts-session @ rev 17
Add tint2 config
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 15 16:54:00 2014 +0200 (2014-05-15) |
parents | 185d34744e11 |
children |
line diff
1.1 --- a/sts-session Mon Apr 28 00:06:11 2014 +0200 1.2 +++ b/sts-session Thu May 15 16:54:00 2014 +0200 1.3 @@ -3,12 +3,14 @@ 1.4 # Start SliTaz Tiny/Touch Screens desktop session 1.5 # 1.6 1.7 -export STS_DESKTOP_WM="openbox" 1.8 -export STS_DESKTOP_ID="$$" 1.9 export XDG_CACHE_HOME="$HOME/.cache" 1.10 export XDG_CONFIG_HOME="$HOME/.config" 1.11 export XDG_DATA_HOME="$HOME/.local/share" 1.12 1.13 +export STS_DESKTOP_ID="$$" 1.14 +export STS_DESKTOP_WM="openbox" 1.15 +export STS_CONFIG_HOME="$XDG_CONFIG_HOME/sts" 1.16 + 1.17 data="/usr/share/slitaz/sts" 1.18 sts="${XDG_CONFIG_HOME}/sts" 1.19 1.20 @@ -24,8 +26,13 @@ 1.21 chmod +x ${sts}/autostart 1.22 fi 1.23 1.24 -# LXpanel configs 1.25 -if [ ! -d "${XDG_CONFIG_HOME}/lxpanel/sts" ]; then 1.26 +# Tint2 panel 1.27 +if [ ! -f "${XDG_CONFIG_HOME}/sts/tint2rc" ]; then 1.28 + cp ${data}/tint2/tint2rc ${XDG_CONFIG_HOME}/sts 1.29 +fi 1.30 + 1.31 +# LXpanel configs support 1.32 +if [ -x "/usr/bin/lxpanel" ] && [ ! -d "${XDG_CONFIG_HOME}/lxpanel/sts" ]; then 1.33 cp -rf ${data}/lxpanel ${XDG_CONFIG_HOME} 1.34 fi 1.35