From 76ae7ad9d6f7fb679419f8056f0f4b6194975be4 Mon Sep 17 00:00:00 2001 From: Cameron Miller Date: Thu, 4 Aug 2022 13:00:07 +0100 Subject: [PATCH] update script --- README.org | 6 ++---- cbsh | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/README.org b/README.org index c40a9ad..3bfb753 100644 --- a/README.org +++ b/README.org @@ -107,7 +107,6 @@ It would be a very, very good idea to have a local VM with a clean installation # DEPENDENCIES: dialog #+end_src - * Check that user is NOT root! Don't run this script as root! This is done for safety reasons, as this script makes a lot of changes to the $HOME of the $USER of this script. For obvious reasons, we want $USER to not be 'root' and $HOME not to be '/root'. Instead, run this script as a normal user. You will be asked to enter a sudo password at several points when needed. @@ -211,9 +210,7 @@ pikaur -Syu nerd-fonts-source-code-pro nerd-fonts-fira-code librewolf-bin * Choosing Graphics Drivers By Default, the script normally installed the Nvidia Drivers, due to me using a Nvidia GPU, but recently i've realised it would be a much better idea to allow the user to install the relevant drivers based on what they use (Intel HD/Iris/Xe Graphics, AMD Graphics, Nvidia Graphics) instead of just installing the Nvidia Drivers if they don't use a Nvidia card. #+begin_src bash -PS3='Set Graphics Drivers: \n -NOTE: Currently, the nvidia-open drivers have an issue where they do not work on systems with AMD APUs, such as the Laptop Ryzen chips (C/U/H/HS/HX), or the Ryzen 2/3/4/5000 Series G Families of chips on the desktop, please use the closed source drivers instead to make sure you have a working system.' - +PS3='Set Graphics Drivers:' shells=("intel" "nvidia-open", "nivdia" "amd" "quit") select choice in "${shells[@]}"; do case $choice in @@ -246,6 +243,7 @@ select choice in "${shells[@]}"; do ;; esac done +echo "NOTE: Currently, the nvidia-open drivers have an issue where they do not work on systems with AMD APUs, such as the Laptop Ryzen chips (C/U/H/HS/HX), or the Ryzen 2/3/4/5000 Series G Families of chips on the desktop, please use the closed source drivers instead to make sure you have a working system." #+end_src * Copying over the configs from /etc/cbsh to $HOME diff --git a/cbsh b/cbsh index f11b3f6..ca1474b 100755 --- a/cbsh +++ b/cbsh @@ -71,8 +71,8 @@ sudo pacman --needed --ask 4 -Syu - < pkglist.txt # Now that pikaur is installed, we can sync the AUR and install some needed packages (Nerd Fonts) from there. pikaur -Syu nerd-fonts-source-code-pro nerd-fonts-fira-code librewolf-bin -PS3='Set Graphics Drivers: \n -NOTE: Currently, the nvidia-open drivers have an issue where they do not work on systems with AMD APUs, such as the Laptop Ryzen chips (C/U/H/HS/HX), or the Ryzen 2/3/4/5000 Series G Families of chips on the desktop, please use the closed source drivers instead to make sure you have a working system.' +PS3='NOTE: Currently, the nvidia-open drivers have an issue where they do not work on systems with AMD APUs, such as the Laptop Ryzen chips (C/U/H/HS/HX), or the Ryzen 2/3/4/5000 Series G Families of chips on the desktop, please use the closed source drivers instead to make sure you have a working system. +Set Graphics Drivers:' shells=("intel" "nvidia-open", "nivdia" "amd" "quit") select choice in "${shells[@]}"; do