From 2b2483fe999c5e49ebfc09f8e5b3224854c4ba2a Mon Sep 17 00:00:00 2001 From: Cameron Miller Date: Sun, 3 Jul 2022 23:38:56 +0100 Subject: [PATCH] Update Readme and Script --- README.org | 10 ++++++---- cbsh | 4 ++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.org b/README.org index 35b9de0..1e62480 100644 --- a/README.org +++ b/README.org @@ -72,10 +72,12 @@ paru (or paru -Syu) pikaur -Syu #+end_example +~You can also substitute these for your preferred AUR Helper, these are just the three i know of and have used.~ + Many of CBSH's Packages are actually configuration files, these will get stored in /etc/cbsh, as we don't want to overwrite any config files you may already have on your system accidentally. If you'd like to use them, then you'd need to manually copy them from /etc/cbsh into $HOME. -=NOTE:= You do not need to run the CBSH install script more than once, if you succeeded in installing CBSH then you'll have access to the CBSH Repos and all of the Packages stored in them, so when a new update arrives and it installs packages that you don't have, you can simply install them via APT or Pacman. +=NOTE:= You do not need to run the CBSH install script more than once, if you succeeded in installing CBSH then you'll have access to the CBSH Repos and all of the Packages stored in them, so when a new update arrives and it installs packages that you don't have, you can simply install them via Pacman or an AUR Helper. * Contributing to CBSH @@ -142,7 +144,7 @@ sudo pacman --noconfirm --needed -Syu dialog || error "Error syncing the repos." * The Welcome Message #+begin_src bash welcome () { \ -dialog --colors --title "\Z7\ZbInstalling CBSH!" --msgbox "\Z4This Postinstall Script will install my Qtile Desktop as well as Doom Emacs, Zsh with the Starship Prompt, the Kitty Shell and some other essential programs to make my dotfiles and programs work.\\n\\n-Cabooshy" 16 60 +dialog --colors --title "\Z7\ZbInstalling CBSH!" --msgbox "\Z4This Postinstall Script will install my Qtile Desktop as well as Doom Emacs, Zsh with the Starship Prompt, ST, dmenu, and some other essential programs to make my dotfiles and programs work.\\n\\n-Cabooshy" 16 60 dialog --colors --title "\Z7\ZbStay Near your PC!" --yes-label "Continue" --no-label "Exit" --yesno "\Z4This script cannot be run as root, but when needed you will be asked for your sudo password during the installation. This will give PACMAN the necessary permissions to install the software needed. So stay near the computer" 10 60 } @@ -201,12 +203,12 @@ All packages listed are either in the standard Arch Repos or in my CBSH repos. t 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 pa-applet-git brave-bin +pikaur -Syu nerd-fonts-source-code-pro nerd-fonts-fira-code librewolf-bin #+end_src * Copying over the configs from /etc/cbsh to $HOME -Pacman cannot install files to $HOME, so normally we place them in /etc/skel, but as some distros such as Manjaro and Arco use /etc/skel for their own specific config files, we place them in /etc/cbsh so there are no conflicts on any arch based distro. the config files are placed here and then copied over to $HOME, we backup config just in case anything goes wrong. BEWARE! +Pacman cannot install files to $HOME, so normally we would place them in /etc/skel, but as some distros such as Manjaro and Arco use /etc/skel for their own specific config files, we place them in /etc/cbsh so there are no conflicts on any arch based distro. the config files are placed here and then copied over to $HOME, we backup config just in case anything goes wrong. BEWARE! ~NOTE:~ /opt contains the SDDM theme and the Source Code for my builds of ST and dmenu. diff --git a/cbsh b/cbsh index 23ab220..e8dee93 100755 --- a/cbsh +++ b/cbsh @@ -31,7 +31,7 @@ echo "########################################################################" sudo pacman --noconfirm --needed -Syu dialog || error "Error syncing the repos." welcome () { \ -dialog --colors --title "\Z7\ZbInstalling CBSH!" --msgbox "\Z4This Postinstall Script will install my Qtile Desktop as well as Doom Emacs, Zsh with the Starship Prompt, the Kitty Shell and some other essential programs to make my dotfiles and programs work.\\n\\n-Cabooshy" 16 60 +dialog --colors --title "\Z7\ZbInstalling CBSH!" --msgbox "\Z4This Postinstall Script will install my Qtile Desktop as well as Doom Emacs, Zsh with the Starship Prompt, ST, dmenu, and some other essential programs to make my dotfiles and programs work.\\n\\n-Cabooshy" 16 60 dialog --colors --title "\Z7\ZbStay Near your PC!" --yes-label "Continue" --no-label "Exit" --yesno "\Z4This script cannot be run as root, but when needed you will be asked for your sudo password during the installation. This will give PACMAN the necessary permissions to install the software needed. So stay near the computer" 10 60 } @@ -70,7 +70,7 @@ recieve_keys || err "Error Recieving PGP key $_pgpkey" 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 pa-applet-git brave-bin +pikaur -Syu nerd-fonts-source-code-pro nerd-fonts-fira-code librewolf-bin echo "#########################################################" echo "## Copying the config files from /etc/cbsh into \$HOME ##"