-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpost-install.sh
185 lines (148 loc) · 4.74 KB
/
post-install.sh
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
#!/bin/bash
set -e
# install terminal utilities
sudo pacman -S acpi
sudo pacman -S fastfetch
sudo pacman -S feh
sudo pacman -S fprintd
sudo pacman -S git
sudo pacman -S git-lfs
sudo pacman -S github-cli
sudo pacman -S maim
sudo pacman -S neovim
sudo pacman -S reflector
sudo pacman -S rsync
sudo pacman -S sysstat
sudo pacman -S tree
sudo pacman -S udisks2
# install aur helper
git clone https://aur.archlinux.org/yay.git
cd yay && makepkg -si
cd .. && rm -rf yay
# configure pacman
sudo sed -i 's/^#Color/Color/' /etc/pacman.conf
sudo sed -i '/^Color/a ILoveCandy' /etc/pacman.conf
# install, configure, and enable greeter
sudo pacman -S ly
sudo sed -i 's/^\(animation =\) none/\1 doom/' /etc/ly/config.ini
sudo sed -i 's/^\(clock =\) null/\1 %Y-%m-%d %H:%M:%S %Z/' /etc/ly/config.ini
sudo sed -i 's/^\(clear_password =\) false/\1 true/' /etc/ly/config.ini
sudo sed -i 's/^\(initial_info_text =\) null/\1 arch linux/' /etc/ly/config.ini
sudo sed -i 's/^\(hide_borders =\) false/\1 true/' /etc/ly/config.ini
sudo sed -i 's/^\(default_input =\) login/\1 password/' /etc/ly/config.ini
sudo systemctl enable ly
# enable file system trimming
sudo systemctl enable fstrim.timer
# enable network manager
sudo systemctl enable NetworkManager
# install and enable pacman cache clearing
sudo pacman -S pacman-contrib
sudo systemctl enable paccache.timer
# install and enable battery saver
sudo pacman -S tlp
sudo systemctl enable tlp
# install and enable firewall
sudo pacman -S ufw
sudo ufw enable
# enable openssh agent
systemctl --user enable ssh-agent.service
systemctl --user start ssh-agent.service
# install and configure vpn
yay -S mullvad-vpn-bin
mullvad auto-connect set on
mullvad tunnel set wireguard --daita on
mullvad relay set tunnel wireguard --use-multihop on
mullvad dns set default --block-ads --block-trackers --block-malware
mullvad relay set location ch
# install display server
sudo pacman -S xautolock
sudo pacman -S xcalib
sudo pacman -S xclip
sudo pacman -S xdotool
sudo pacman -S xiccd
sudo pacman -S xorg
# download color profile
curl -fsSLO https://www.notebookcheck.net/uploads/tx_nbc2/BOE_CQ_______NE135FBM_N41_01.icm -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0'
#sudo cp BOE_CQ_______NE135FBM_N41_01.icm /usr/share/color/icc/colord/
#colormgr device-add-profile xrandr-BOE "$(colormgr get-profiles | grep -A 1 BOE | grep ID | sed 's/^.*icc/icc/')"
# install window manager
sudo pacman -S i3
sudo pacman -S dunst
sudo pacman -S dmenu
sudo pacman -S rofi
# install compositor
sudo pacman -S picom
# install audio server
sudo pacman -S pipewire
sudo pacman -S pipewire-alsa
sudo pacman -S pipewire-pulse
sudo pacman -S pipewire-jack
# install volume controls
sudo pacman -S alsa-utils
sudo pacman -S pavucontrol
# install audio equalizer
sudo pacman -S easyeffects
# download audio profile
curl -fsSLO https://github.com/FrameworkComputer/linux-docs/raw/refs/heads/main/easy-effects/fw13-easy-effects.json
# install terminal emulator
sudo pacman -S alacritty
# install ruby bundler and gems
sudo pacman -S ruby ruby-bundler
gem install --user-install jekyll
gem install --user-install neocities
# install texlive
sudo pacman -S texlive
sudo pacman -S texlive-langgreek
# install r and packages
sudo pacman -S r
sudo pacman -S gcc-fortran
RLIBS="Sys.getenv('R_LIBS_USER')"
CRAN="c(CRAN = 'https://cran.r-project.org')"
R -e "dir.create(path = $RLIBS, showWarnings = FALSE, recursive = TRUE)"
R -e "install.packages('languageserver', lib = $RLIBS, repos = $CRAN)"
R -e "install.packages('renv', lib = $RLIBS, repos = $CRAN)"
# install vscodium and extensions
yay -S vscodium-bin
codium --install-extension james-yu.latex-workshop
codium --install-extension jeanp413.open-remote-ssh
codium --install-extension reditorsupport.r
codium --install-extension timonwong.shellcheck
# install keepass and cryptomator
sudo pacman -S keepassxc
yay -S cryptomator-bin
# install file manager
sudo pacman -S gvfs
sudo pacman -S thunar
# install text editor
sudo pacman -S l3afpad
# install image viewer
sudo pacman -S viewnior
# install media player
sudo pacman -S vlc
# install character map
sudo pacman -S gucharmap
# install office suite
yay -S onlyoffice-bin
# install signal
sudo pacman -S signal-desktop
# install web browser and mail client
sudo pacman -S firefox
sudo pacman -S thunderbird
# install graphics software
sudo pacman -S gimp
sudo pacman -S inkscape
# install spotify client
yay -S spotify
# install typefaces
sudo pacman -S ttf-nerd-fonts-symbols
sudo pacman -S ttf-nerd-fonts-symbols-mono
# enable tap to click
sudo mkdir -p /etc/X11/xorg.conf.d
sudo tee << 'EOF' /etc/X11/xorg.conf.d/90-touchpad.conf > /dev/null
Section "InputClass"
Identifier "touchpad"
Driver "libinput"
MatchIsTouchpad "on"
Option "Tapping" "on"
EndSection
EOF