-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathinstall_packages.sh
executable file
·225 lines (199 loc) · 3.6 KB
/
install_packages.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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
#!/bin/sh
clear
sudo pacman -Syyu
sudo pacman -S archlinux-keyring pacman-contrib
sudo timedatectl set-local-rtc 1 --adjust-system-clock
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
yay --editmenu --nodiffmenu --save
PKGS=(
# Gpu drivers
'amd-ucode'
'xf86-video-amdgpu'
'lib32-mesa'
'vulkan-radeon'
'lib32-vulkan-radeon'
'vulkan-icd-loader'
'lib32-vulkan-icd-loader'
# WM & base packages
'git'
'xorg-xinput'
'xorg-xsetroot'
'curl'
'wget'
'wmname'
'yad'
'alsa-utils'
'bluez'
'bluez-utils'
'pulseaudio-bluetooth'
'blueberry'
'brightnessctl'
'pavucontrol'
'micro'
'kitty'
'fish'
'feh'
'autorandr'
'bspwm'
'sxhkd'
'polybar'
'rofi'
'dunst'
'picom-ftlabs-git'
'redshift-minimal'
'safeeyes'
'wedder-git'
'ksuperkey'
'xbanish'
'unclutter'
'copyq'
'xsettingsd'
'betterlockscreen'
'tlp'
'tlp-rdw'
'powertop'
'ufw'
'iptables'
# Fonts, icons, cursors, themes
'ttf-jetbrains-mono-nerd'
'ttf-iosevka-nerd'
'ttf-ms-win11-auto'
'papirus-icon-theme'
'papirus-folders'
'capitaine-cursors'
'whitesur-gtk-theme'
# File manager & utils
'thunar'
'thunar-archive-plugin'
'xarchiver'
'gvfs'
'gvfs-mtp'
'tumbler'
'ffmpegthumbnailer'
'tumbler-folder-thumbnailer'
'webp-pixbuf-loader'
'unrar'
'unzip'
'zip'
'p7zip-gui'
'ranger'
'ueberzug'
'ntfs-3g'
'gksu'
# Media
'mpv'
'mpd'
'ncmpcpp'
'cava'
# Browsers
'librewolf-bin'
'ungoogled-chromium-bin'
'brave-bin'
# Social
'telegram-desktop'
'discord'
'skypeforlinux-stable-bin'
'zoom'
# Dev apps
'neovim'
'visual-studio-code-bin'
'phpstorm'
'docker'
'docker-compose'
'git'
'diff-so-fancy'
'jre-openjdk'
'nodejs-lts-fermium'
'npm'
'nvm'
'yarn'
'php'
'phpstan'
'phpmd'
'composer'
'mycli'
'mariadb'
'pgcli'
'postgresql'
'litecli'
# VM
'qemu-full'
'virt-manager'
'virt-viewer'
'dnsmasq'
'vde2'
'bridge-utils'
'openbsd-netcat'
'ebtables'
'iptables'
'libguestfs'
# Gaming
# 'wine'
# 'wine-mono'
# 'wine-gecko'
'portproton'
# Graphics Utilities
'gimp'
'kdenlive'
'shotcut'
'handbrake'
'upscayl-bin'
# Other
'fzf'
'scrcpy'
'gparted'
'timeshift'
'neofetch'
'acpi'
'ncdu'
'flameshot'
'obs-studio'
'qbittorrent'
'gotop-bin'
'espanso-bin'
'figma-linux-bin'
'obsidian'
'koreader-bin'
'peaclock'
'syncthing'
'veracrypt'
'libreoffice-fresh'
'ventoy-bin'
'stacer-bin'
'bleachbit'
'megasync-git'
'keepassxc-git'
)
for PKG in "${PKGS[@]}"; do
echo "Installing: ${PKG}"
yay -S "$PKG" --noconfirm --needed
done
papirus-folders -C bluegrey
sudo ufw enable
sudo systemctl enable ufw.service
sudo ufw allow ssh
sudo systemctl enable paccache.timer
sudo systemctl enable tlp.service
sudo systemctl mask systemd-rfkill.service systemd-rfkill.socket
sudo systemctl enable --now bluetooth
sudo systemctl enable --now libvirtd.service
sudo usermod -a -G libvirt $(whoami)
sudo systemctl restart libvirtd.service
systemctl --user enable --now mpd.service
chsh -s /usr/bin/fish
curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher
fisher install PatrickF1/fzf.fish
fisher install IlanCosman/tide@v5
fisher install jethrokuan/z
sudo npm install --global gulp webpack
# Give execution permission for all scripts in the directory
chmod -R +x ~/.config
git clone --depth 1 https://github.com/AstroNvim/AstroNvim ~/.config/nvim
# Tool for optimizing battery life
git clone https://github.com/AdnanHodzic/auto-cpufreq.git
cd auto-cpufreq && sudo ./auto-cpufreq-installer
sudo auto-cpufreq --install
tide configure
sudo yay -Yc