From ccf12dddcaaba7f54676170d5345ea876f7048d9 Mon Sep 17 00:00:00 2001 From: Cameron Miller Date: Thu, 9 Dec 2021 14:18:39 +0000 Subject: [PATCH] update readme and script --- README.org | 7 ++++++- cbsh_arch.sh | 5 ++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index 34ba11d..f4d82c7 100644 --- a/README.org +++ b/README.org @@ -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 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. #+begin_src bash @@ -206,8 +208,11 @@ echo "#########################################################" cd /etc/cbsh 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 zsh/.zshrc .zshrc && sudo rm -r .config/zsh +sudo mv zsh/.zshrc .zshrc cp -Rf . ~ && cd - + +cd /opt +sudo cp -r cbsh-sddm-theme /usr/share/sddm/themes #+end_src diff --git a/cbsh_arch.sh b/cbsh_arch.sh index ccb1ebf..9d03cb0 100755 --- a/cbsh_arch.sh +++ b/cbsh_arch.sh @@ -83,9 +83,12 @@ echo "#########################################################" cd /etc/cbsh 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 zsh/.zshrc .zshrc && sudo rm -r .config/zsh +sudo mv zsh/.zshrc .zshrc cp -Rf . ~ && cd - +cd /opt +sudo cp -r cbsh-sddm-theme /usr/share/sddm/themes + echo "#########################################################" echo "## Installing Doom Emacs. This may take a few minutes. ##" echo "#########################################################"