From d249a02209a780b53ef4b6a8979cf4c6db018187 Mon Sep 17 00:00:00 2001 From: cronyakatsuki Date: Thu, 13 Oct 2022 19:45:19 +0200 Subject: [PATCH] Add an echo for setting corg configs. --- arch_install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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"