wok-next diff karmen/stuff/karmen-session @ rev 13245

Move from undigest: turses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 14 13:39:29 2012 +0200 (2012-08-14)
parents 08943259e85e
children
line diff
     1.1 --- a/karmen/stuff/karmen-session	Tue May 05 02:12:07 2009 +0200
     1.2 +++ b/karmen/stuff/karmen-session	Tue Aug 14 13:39:29 2012 +0200
     1.3 @@ -3,14 +3,15 @@
     1.4  # Start Karmen X session on SliTaz
     1.5  #
     1.6  
     1.7 -CONFIG_DIR="$HOME/.config/karmen"
     1.8 -AUTOSTART_SCRIPT="${CONFIG_DIR}/autostart.sh"
     1.9 +export XDG_CONFIG_HOME="$HOME/.config"
    1.10 +export XDG_CURRENT_DESKTOP=karmen
    1.11 +AUTOSTART_SCRIPT="${XDG_CONFIG_HOME}/karmen/autostart.sh"
    1.12  
    1.13  # These file are provided by SliTaz to provide a better experience
    1.14  # with Karmen. Autostart script for applications and Wbar with a logout
    1.15  # icon.
    1.16 -if [ ! -d "$CONFIG_DIR" ]; then
    1.17 -	cp -a /etc/xdg/karmen $CONFIG_DIR
    1.18 +if [ ! -d "$XDG_CONFIG_HOME/karmen" ]; then
    1.19 +	cp -r /etc/xdg/karmen $XDG_CONFIG_HOME
    1.20  fi
    1.21  
    1.22  # Source autostarted applications.