rc

Added a command to the login script that starts X11 automatically.

Author
Maarten 'Vngngdn' Vangeneugden
Date
Nov. 30, 2016, 1:36 a.m.
Hash
8222346b0438562fc634987fb8f83097b0af478f
Parent
184356b236d9f79b4427b940e4c136a9b20cf55e
Modified file
.zlogin

.zlogin

6 additions and 1 deletion.

View changes Hide changes
1
1
2
2
# by pulling all changes in the repositories:
3
3
echo -e "Updating all repositories...\n"
4
4
cd ~/Repositories
5
5
for directory in */ ; do
6
6
	cd $directory
7
7
	git pull
8
8
	cd ..  # Returning to Repositories
9
9
done
10
10
11
11
cd ~  # Return to home, I guess?
12
-
cd ~  # Return to home, I guess?
+
12
+
13
# Start X
+
14
if [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then
+
15
  exec startx
+
16
fi
+
17
fi