1
0

Add an echo for setting corg configs.

This commit is contained in:
CronyAkatsuki 2022-10-13 19:45:19 +02:00
parent c1eff37f80
commit d249a02209

View File

@ -130,7 +130,7 @@ echo "127.0.1.1 $hostname.localdomain $hostname" >> /etc/hosts
mkinitcpio -P mkinitcpio -P
echo "Downloading and setting better mirrorlist" 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 cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak
reflector --latest 200 --sort rate --save /etc/pacman.d/mirrorlist 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 pacman -S --noconfirm networkmanager dhcpcd openresolv
systemctl enable NetworkManager systemctl enable NetworkManager
systemctl enable dhcpcd 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 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" echo "Setting up xorg, gpu drivers and my xorg configs"
@ -161,6 +160,8 @@ echo "Do you have nvidia optimus [y/n]: "
read optimus read optimus
[[ $optimus = "y" ]] && [[ $nvidia = "y" ]] && pacman -S --needed --noconfirm nvidia-prime [[ $optimus = "y" ]] && [[ $nvidia = "y" ]] && pacman -S --needed --noconfirm nvidia-prime
echo "Setting xorg configurations"
mkdir -p /etc/X11/xorg.conf.d mkdir -p /etc/X11/xorg.conf.d
echo "Section "InputClass" echo "Section "InputClass"
Identifier "My Mouse" Identifier "My Mouse"