diff --git a/arch_install.sh b/arch_install.sh index d31a78f..9cfcac6 100755 --- a/arch_install.sh +++ b/arch_install.sh @@ -130,7 +130,7 @@ echo "127.0.1.1 $hostname.localdomain $hostname" >> /etc/hosts mkinitcpio -P echo "Downloading and setting better mirrorlist" -pacman -S --noconfirm reflector rsync +pacman -S --noconfirm --needed reflector rsync cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak reflector --latest 200 --sort rate --save /etc/pacman.d/mirrorlist @@ -139,7 +139,6 @@ echo "Setting up network managment" pacman -S --noconfirm networkmanager dhcpcd openresolv systemctl enable NetworkManager systemctl enable dhcpcd -rm /etc/resolv.conf sed -i 's/#name_servers=127.0.0.1/name_servers="94.140.14.14 94.140.15.15 2a10:50c0::ad1:ff 2a10:50c0::ad2:ff"/' /etc/resolvconf.conf echo "Setting up xorg, gpu drivers and my xorg configs" @@ -161,6 +160,8 @@ echo "Do you have nvidia optimus [y/n]: " read optimus [[ $optimus = "y" ]] && [[ $nvidia = "y" ]] && pacman -S --needed --noconfirm nvidia-prime +echo "Setting xorg configurations" + mkdir -p /etc/X11/xorg.conf.d echo "Section "InputClass" Identifier "My Mouse"