dotfiles/.xinitrc
2014-09-29 09:41:58 +02:00

17 lines
425 B
Text
Executable file

[ -f /etc/xprofile ] && . /etc/xprofile
[ -f ~/.xprofile ] && . ~/.xprofile
[ -f ~/.Xresources ] && xrdb -merge ~/.Xresources
/usr/bin/xcompmgr &
/usr/bin/xscreensaver -no-splash &
eval $(/usr/bin/gpg-agent --daemon --enable-ssh-support --write-env-file "${HOME}/.gpg-agent-info")
DEFAULT_SESSION=awesome
case "$1" in
default|awesome|"")
exec awesome
;;
qtile)
exec qtile
;;
*) exec $DEFAULT_SESSION ;;
esac