update readme and script

This commit is contained in:
Cameron Miller 2021-12-09 14:18:39 +00:00
parent 45c9efdcfa
commit ccf12dddca
2 changed files with 10 additions and 2 deletions

View File

@ -192,6 +192,8 @@ pikaur -Syu nerd-fonts-source-code-pro nerd-fonts-fira-code pa-applet-git
* Copying over the configs from /etc/cbsh to $HOME * 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 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.
~NOTE:~ The /etc/cbsh directory contains all of the files and directories that will get automatically copied to a new users $HOME when they are created using `useradd` or `adduser` depending on the distro. ~NOTE:~ The /etc/cbsh directory contains all of the files and directories that will get automatically copied to a new users $HOME when they are created using `useradd` or `adduser` depending on the distro.
#+begin_src bash #+begin_src bash
@ -206,8 +208,11 @@ echo "#########################################################"
cd /etc/cbsh cd /etc/cbsh
sudo mv .config/qtile/qtile/* .config/qtile && sudo rm -r .config/qtile/qtile sudo mv .config/qtile/qtile/* .config/qtile && sudo rm -r .config/qtile/qtile
sudo mv .config/kitty/kitty/* .config/kitty && sudo rm -r .config/kitty/kitty sudo mv .config/kitty/kitty/* .config/kitty && sudo rm -r .config/kitty/kitty
sudo mv zsh/.zshrc .zshrc && sudo rm -r .config/zsh sudo mv zsh/.zshrc .zshrc
cp -Rf . ~ && cd - cp -Rf . ~ && cd -
cd /opt
sudo cp -r cbsh-sddm-theme /usr/share/sddm/themes
#+end_src #+end_src

View File

@ -83,9 +83,12 @@ echo "#########################################################"
cd /etc/cbsh cd /etc/cbsh
sudo mv .config/qtile/qtile/* .config/qtile && sudo rm -r .config/qtile/qtile sudo mv .config/qtile/qtile/* .config/qtile && sudo rm -r .config/qtile/qtile
sudo mv .config/kitty/kitty/* .config/kitty && sudo rm -r .config/kitty/kitty sudo mv .config/kitty/kitty/* .config/kitty && sudo rm -r .config/kitty/kitty
sudo mv zsh/.zshrc .zshrc && sudo rm -r .config/zsh sudo mv zsh/.zshrc .zshrc
cp -Rf . ~ && cd - cp -Rf . ~ && cd -
cd /opt
sudo cp -r cbsh-sddm-theme /usr/share/sddm/themes
echo "#########################################################" echo "#########################################################"
echo "## Installing Doom Emacs. This may take a few minutes. ##" echo "## Installing Doom Emacs. This may take a few minutes. ##"
echo "#########################################################" echo "#########################################################"