wok-next annotate karmen/stuff/karmen-session @ rev 18285
smbbox: update depends
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Mon Aug 10 11:38:27 2015 -0400 (2015-08-10) |
parents | 08943259e85e |
children |
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@12408 | 6 export XDG_CONFIG_HOME="$HOME/.config" |
pankso@12408 | 7 export XDG_CURRENT_DESKTOP=karmen |
pankso@12408 | 8 AUTOSTART_SCRIPT="${XDG_CONFIG_HOME}/karmen/autostart.sh" |
pankso@2894 | 9 |
pankso@2894 | 10 # These file are provided by SliTaz to provide a better experience |
pankso@2894 | 11 # with Karmen. Autostart script for applications and Wbar with a logout |
pankso@2894 | 12 # icon. |
pankso@12408 | 13 if [ ! -d "$XDG_CONFIG_HOME/karmen" ]; then |
pankso@12408 | 14 cp -r /etc/xdg/karmen $XDG_CONFIG_HOME |
pankso@2894 | 15 fi |
pankso@2894 | 16 |
pankso@2894 | 17 # Source autostarted applications. |
pankso@2894 | 18 . $AUTOSTART_SCRIPT |
pankso@2894 | 19 |
pankso@2894 | 20 # Execute the Window manager. |
pankso@2894 | 21 exec karmen |
pankso@2894 | 22 |
pankso@2894 | 23 exit 0 |