2013-03-23 14:54:07 +01:00
|
|
|
[ -f /etc/xprofile ] && . /etc/xprofile
|
|
|
|
[ -f ~/.xprofile ] && . ~/.xprofile
|
|
|
|
|
|
|
|
DEFAULT_SESSION=awesome
|
|
|
|
case "$1" in
|
|
|
|
default|awesome|"")
|
|
|
|
[ -f ~/.Xresources ] && xrdb -merge ~/.Xresources
|
|
|
|
xcompmgr &
|
|
|
|
/usr/bin/xscreensaver -no-splash &
|
2013-11-13 15:39:59 +01:00
|
|
|
eval $(/usr/bin/gpg-agent --daemon --enable-ssh-support --write-env-file "${HOME}/.gpg-agent-info")
|
2013-03-23 14:54:07 +01:00
|
|
|
exec awesome
|
|
|
|
;;
|
|
|
|
weston|weston-launch)
|
|
|
|
exec weston-launch
|
|
|
|
;;
|
|
|
|
*) exec $DEFAULT_SESSION ;;
|
|
|
|
esac
|