wok-next annotate karmen/stuff/karmen-session @ rev 6101
uclibc-*: fix genpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 31 22:19:24 2010 +0200 (2010-08-31) |
parents | |
children | cb76ed027bff |
rev | line source |
---|---|
pankso@2894 | 1 #!/bin/sh |
pankso@2894 | 2 # |
pankso@2894 | 3 # Start Karmen X session on SliTaz |
pankso@2894 | 4 # |
pankso@2894 | 5 |
pankso@2894 | 6 CONFIG_DIR="$HOME/.config/karmen" |
pankso@2894 | 7 AUTOSTART_SCRIPT="${CONFIG_DIR}/autostart.sh" |
pankso@2894 | 8 |
pankso@2894 | 9 # These file are provided by SliTaz to provide a better experience |
pankso@2894 | 10 # with Karmen. Autostart script for applications and Wbar with a logout |
pankso@2894 | 11 # icon. |
pankso@2894 | 12 if [ ! -d "$CONFIG_DIR" ]; then |
pankso@2894 | 13 cp -a /etc/xdg/karmen $CONFIG_DIR |
pankso@2894 | 14 fi |
pankso@2894 | 15 |
pankso@2894 | 16 # Source autostarted applications. |
pankso@2894 | 17 . $AUTOSTART_SCRIPT |
pankso@2894 | 18 |
pankso@2894 | 19 # Execute the Window manager. |
pankso@2894 | 20 exec karmen |
pankso@2894 | 21 |
pankso@2894 | 22 exit 0 |