summaryrefslogtreecommitdiff
path: root/sh/.profile
blob: 36852bc4f309650733c1d247fa5a83fe6159cd92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
if [ -d "${HOME}/.config/env" ]
then
	ENV_FILES=`find "${HOME}/.config/env" -type f,l -name "*.sh" | sort`
	for ENV_FILE in ${ENV_FILES}
	do
		. ${ENV_FILE}
	done
fi

if [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]
then
	exec startx
fi