67 lines
712 B
Bash
Executable File
67 lines
712 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Discard on use
|
|
rm $0
|
|
|
|
DRIVER_PACKAGES=(
|
|
xf86-video-
|
|
xf86-input-
|
|
)
|
|
|
|
install_packages() {
|
|
PACKAGES=(
|
|
ttf-dejavu
|
|
ttf-liberation
|
|
noto-fonts-cjk
|
|
noto-fonts-emoji
|
|
|
|
p7zip
|
|
unrar
|
|
unzip
|
|
|
|
mpv
|
|
feh
|
|
zathura
|
|
zathura-djvu
|
|
zathura-pdf-mupdf
|
|
zathura-cb
|
|
audacious
|
|
|
|
termite
|
|
ranger
|
|
neofetch
|
|
htop
|
|
tmux
|
|
ntfs-3g
|
|
vim
|
|
|
|
firefox
|
|
youtube-dl
|
|
openssh
|
|
wget
|
|
curl
|
|
transmission
|
|
|
|
gcc
|
|
gdb
|
|
cmake
|
|
code
|
|
)
|
|
|
|
PACKAGES += DRIVER_PACKAGES
|
|
|
|
yay -S --noconfirm ${PACKAGES[*]}
|
|
}
|
|
|
|
install_yay() {
|
|
sudo pacman -Syyu --noconfirm git
|
|
git clone https://aur.archlinux.org/yay.git ~/temp_yay
|
|
cd ~/temp_yay
|
|
makepkg -si
|
|
cd
|
|
rm -rf ~/temp_yay
|
|
}
|
|
|
|
install_yay
|
|
install_packages
|