dotfiles/.xinitrc

18 lines
425 B
Text
Raw Normal View History

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
/usr/bin/xcompmgr &
/usr/bin/xscreensaver -no-splash &
eval $(/usr/bin/gpg-agent --daemon --enable-ssh-support --write-env-file "${HOME}/.gpg-agent-info")
2013-03-23 14:54:07 +01:00
DEFAULT_SESSION=awesome
case "$1" in
default|awesome|"")
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