-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathArchPostSetup
31 lines (31 loc) · 1.66 KB
/
ArchPostSetup
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
#!/bin/bash
#wget bit.ly/2tuAvPT && bash 2tuAvPT
echo Enter your username
read username
pacman -Syy
pacman -S curl --noconfirm
#curl https://raw.githubusercontent.com/MrFlacko/Scripts/master/mirrorsaustralia > /etc/pacman.d/mirrorlist #Australia
curl https://hastebin.com/raw/uzofajeyas > /etc/pacman.d/mirrorlisttmp #Argentina
pacman -Sy pacman-contrib --noconfirm
cat /etc/pacman.d/mirrorlisttmp | rankmirrors -n 15 - > /etc/pacman.d/mirrorlist
rm /etc/pacman.d/mirrorlisttmp
pacman -Syyu --noconfirm
pacman -S wget git unzip nano --noconfirm
pacman -S ntfs-3g gvfs-afc gvfs-goa gvfs-google htop gvfs-gphoto2 gvfs-mtp gvfs-mtp gvfs-nfs gvfs-smb nautilus p7zip unzip zip unrar ark thunderbird sl code nomacs net-tools traceroute nmap evince gnome-disk-utility ksysguard obs-studio baobab mousepad spectacle libreoffice-still dia firefox gimp htop peek adobe-source-sans-pro-fonts aspell-en enchant gst-libav gst-plugins-good icedtea-web jre8-openjdk languagetool libmythes mythes-en ttf-anonymous-pro ttf-bitstream-vera ttf-dejavu ttf-droid ttf-liberation ttf-ubuntu-font-family intel-ucode ufw w3m nano curl filezilla gimp discord --noconfirm
mkdir /home/$username/Videos
mkdir /home/$username/Documents
mkdir /home/$username/Music
mkdir /home/$username/Pictures
mkdir /home/$username/Downloads
cd /home/$username/Downloads
git clone https://aur.archlinux.org/yay.git
cd /home/$username/.vpn
cd /home/$username/Downloads/yay
chown -R $username /home/$username/
sudo -u $username makepkg -si --noconfirm
rm -rv ../yay
cd /home/$username/Downloads
sudo -u $username yay -S teamviewer qbittorrent-dark-git minecraft-launcher --noconfirm
systemctl enable teamviewerd
systemctl enable ufw
ufw enable