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 &
|
2015-10-02 20:59:51 +02:00
|
|
|
hash gpg-agent 2>/dev/null && eval $(gpg-agent --daemon --enable-ssh-support)
|
2013-03-23 14:54:07 +01:00
|
|
|
|
2015-10-02 19:38:03 +02:00
|
|
|
DEFAULT_SESSION=qtile
|
2015-09-13 17:43:29 +02:00
|
|
|
[[ ":$PATH:" == *":$HOME/bin:"* ]] || export PATH="$HOME/bin:$PATH"
|
2015-02-14 10:39:15 +01:00
|
|
|
|
2013-03-23 14:54:07 +01:00
|
|
|
case "$1" in
|
2015-06-02 17:52:27 +02:00
|
|
|
awesome)
|
2013-03-23 14:54:07 +01:00
|
|
|
exec awesome
|
|
|
|
;;
|
2014-09-29 09:41:58 +02:00
|
|
|
qtile)
|
2015-10-02 19:53:20 +02:00
|
|
|
exec qtile 2>/tmp/qtile.err.log
|
2013-03-23 14:54:07 +01:00
|
|
|
;;
|
|
|
|
*) exec $DEFAULT_SESSION ;;
|
|
|
|
esac
|