16 lines
342 B
Text
Executable file
16 lines
342 B
Text
Executable file
[ -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 &
|
|
exec awesome
|
|
;;
|
|
weston|weston-launch)
|
|
exec weston-launch
|
|
;;
|
|
*) exec $DEFAULT_SESSION ;;
|
|
esac
|