rc

Update login sequence

From now it boots in Sway, and I've also disabled the automatic updating because I can't be sure that's necessary.

Author
Maarten Vangeneugden
Date
July 12, 2019, 8:52 p.m.
Hash
541a49aaad09c6aee9f8d8332563351a69d899be
Parent
d5e71cc4f242f4dbddbe230e962410f120c400c6
Modified file
.zlogin

.zlogin

6 additions and 5 deletions.

View changes Hide changes
1
1
2
2
# First, boot the GNU Emacs daemon. This usually takes a relatively long time,
3
3
# allowing the computer to establish an internet connection in the meantime, so
4
4
# it can synchronize the directories and pull changes in repositories.
5
5
echo -e "Booting GNU Emacs...\n"
6
6
emacs --daemon=gnuemacs
7
7
echo -e "GNU Emacs booted as 'gnuemacs' daemon.\n"
8
8
9
9
# by pulling all changes in the repositories:
10
10
echo -e "Updating all repositories...\n"
11
11
cd ~/Repositories
12
12
for directory in */ ; do
13
13
	cd $directory
14
14
	git pull
15
15
	cd ..  # Returning to Repositories
16
16
done
17
17
18
18
cd ~  # Return to home
19
19
20
20
echo -e "Synchronizing remaining university data...\n"
21
-
rsync -a -P --delete -e ssh maarten@maartenv.be:/home/maarten/Documenten/University ~
22
-
rsync -a -P --delete -e ssh maarten@maartenv.be:/home/maarten/backup/shared ~
23
-
+
21
#echo -e "Synchronizing remaining university data...\n"
+
22
#rsync -a -P --delete -e ssh maarten@maartenv.be:/home/maarten/Documenten/University ~
+
23
#rsync -a -P --delete -e ssh maarten@maartenv.be:/home/maarten/backup/shared ~
+
24
24
25
echo -e "All tasks completed. Initializing i3 boot process... OwO"
25
-
# Start X
+
26
# Start X
26
27
if [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then
27
28
  exec startx
28
-
fi
+
29
fi