2013-03-23 14:54:07 +01:00
|
|
|
[ -f /etc/xprofile ] && . /etc/xprofile
|
|
|
|
[ -f ~/.xprofile ] && . ~/.xprofile
|
2014-09-29 09:41:58 +02:00
|
|
|
[ -f ~/.Xresources ] && xrdb -merge ~/.Xresources
|
2015-02-09 21:47:17 +01:00
|
|
|
|
|
|
|
hash xcompmgr 2>/dev/null && xcompmgr &
|
|
|
|
hash xscreensaver 2>/dev/null && xscreensaver -no-splash &
|
|
|
|
hash gpg-agent 2>/dev/null && eval $(gpg-agent --daemon --enable-ssh-support --write-env-file "${HOME}/.gpg-agent-info")
|
2013-03-23 14:54:07 +01:00
|
|
|
|
|
|
|
DEFAULT_SESSION=awesome
|
2015-02-14 10:39:15 +01:00
|
|
|
[[ ":$PATH:" == *":$HOME/bin:"* ]] || export PATH="$PATH:$HOME/bin"
|
|
|
|
|
2013-03-23 14:54:07 +01:00
|
|
|
case "$1" in
|
2015-02-09 21:47:17 +01:00
|
|
|
awesome|default|"")
|
2013-03-23 14:54:07 +01:00
|
|
|
exec awesome
|
|
|
|
;;
|
2014-09-29 09:41:58 +02:00
|
|
|
qtile)
|
|
|
|
exec qtile
|
2013-03-23 14:54:07 +01:00
|
|
|
;;
|
|
|
|
*) exec $DEFAULT_SESSION ;;
|
|
|
|
esac
|