git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
BranchCommit messageAuthorAge
masterAnchoring current-branch alias in gitconfigH. P. 5 weeks
testingfix: do not display HEAD along with the branchesH. P. 5 weeks
 
TagDownloadAuthorAge
v1.6.0dotfiles-1.6.0.tar.bz2  H. P. 5 weeks
v1.2.8dotfiles-1.2.8.tar.bz2  H. P. 8 months
v1.2.7dotfiles-1.2.7.tar.bz2  H. P. 10 months
v1.2.6dotfiles-1.2.6.tar.bz2  H. P. 12 months
v1.2.5dotfiles-1.2.5.tar.bz2  H. P. 12 months
v1.2.4dotfiles-1.2.4.tar.bz2  H. P. 12 months
v1.2.3dotfiles-1.2.3.tar.bz2  H. P. 12 months
v1.2.2dotfiles-1.2.2.tar.bz2  H. P. 12 months
v1.2.1dotfiles-1.2.1.tar.bz2  H. P. 18 months
v1.2.0dotfiles-1.2.0.tar.bz2  H. P. 20 months
v1.1.0dotfiles-1.1.0.tar.bz2  H. P. 21 months
v1.0.0dotfiles-1.0.0.tar.bz2  H. P. 21 months
v0.9.5dotfiles-0.9.5.tar.bz2  H. P. 3 years
v0.9.4dotfiles-0.9.4.tar.bz2  H. P. 4 years
v0.9.3dotfiles-0.9.3.tar.bz2  H. P. 4 years
v0.9.2dotfiles-0.9.2.tar.bz2  H. P. 4 years
v0.9.1dotfiles-0.9.1.tar.bz2  H. P. 4 years
er.Integer.Long */
#!/bin/bash

pidof -s xinit && exit 0

[ -z "$STXTARG" ] && STXTARG="$1"

if [ -z "$STXTARG" ];then
	read -p "Start: e16, xmonad, gnome or kde? " STXTARG
	[ -z "$STXTARG" ] && STXTARG="xmonad"
fi

case "$STXTARG" in
	e16)
		diff ~/.xsession-e16 ~/.xsession &> /dev/null
		[ "$?" -ne 0 ] && ln -sf .xsession-e16 ~/.xsession
	;;
	xmonad)
		diff ~/.xsession-xmonad ~/.xsession &> /dev/null
		[ "$?" -ne 0 ] && ln -sf .xsession-xmonad ~/.xsession
	;;
	gnome)
		diff ~/.xsession-gnome ~/.xsession &> /dev/null
		[ "$?" -ne 0 ] && ln -sf .xsession-gnome ~/.xsession
	;;
	kde)
		diff ~/.xsession-kde ~/.xsession &> /dev/null
		[ "$?" -ne 0 ] && ln -sf .xsession-kde ~/.xsession
	;;
	*)
		echo "Sorry, I don't know $STXTARG as window manager."
		exit 1
	;;
esac

startx