dotfiles/.xinitrc

21 lines
547 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
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
2015-10-02 19:38:03 +02:00
DEFAULT_SESSION=qtile
[[ ":$PATH:" == *":$HOME/bin:"* ]] || export PATH="$HOME/bin:$PATH"
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)
exec qtile
2013-03-23 14:54:07 +01:00
;;
*) exec $DEFAULT_SESSION ;;
esac