git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/.perlcriticrc
blob: 9d8fe7660cc14d83d54859640314f542802de1d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# vim:syntax=dosini
severity = 5
#verbose = 11
#verbose = %f: [%p] %m at line %l, column %c.\n%d\n
verbose = %f: [%p] %m at line %l, column %c.\n
theme = core

[TestingAndDebugging::RequireUseWarnings]
severity = 5

[Modules::ProhibitEvilModules]
modules_file = .forbidden_modules
.il { color: #009999 } /* Literal.Number.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