-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpostinstall
51 lines (38 loc) · 1008 Bytes
/
postinstall
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/bin/bash
# Root Permission
#if ["$EUID" -ne 0]
# then echo "Please run as root"
# exit
#fi
# Install sudo
#echo Install sudo..
#pacman -S sudo
# Update Arch Linux first
echo Updating Arch...
sudo pacman -Syu
# Install Xorg
echo Installing Display server xorg...
sudo pacman -S xorg-server
# Install lightdm
echo Installing Display Manager lightdm...
sudo pacman -S lightdm
# Install lightdm-greeter
echo Installing Display Manager greeter...
sudo pacman -S lightdm-gtk-greeter
# Install i3
echo Installing window manager i3...
sudo pacman -S i3-wm
# Install Rxvt
echo Installing Terminal emulator Rxvt...
sudo pacman -S rxvt-unicode
# Install ALSA
echo Installing sound manager ALSA...
sudo pacman -S alsa-utils
# Install Fonts
# Chinese Fonts
echo Installing Chinese Fonts...
sudo pacman -S adobe-source-han-sans-cn-fonts adobe-source-han-sans-tw-fonts
# Source Sans Pro
echo Installing Optional Font Source Sans Pro...
sudo pacman -S adobe-source-sans-pro-fonts
echo Installation complete.