Merge pull request #1 from ArcExp/ArcExp-patch-1

Update 2-user.sh
This commit is contained in:
ArcExp 2023-10-12 14:15:50 +01:00 committed by GitHub
commit 0fbc659bb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -13,12 +13,12 @@ echo -ne "
╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝
-------------------------------------------------------------------------
Automated Arch Linux Installer
SCRIPTHOME: ArchTitus
SCRIPTHOME: Installer
-------------------------------------------------------------------------
Installing AUR Softwares
"
source $HOME/ArchTitus/configs/setup.conf
source $HOME/Installer/configs/setup.conf
cd ~
mkdir "/home/$USERNAME/.cache"
@ -27,7 +27,7 @@ source $HOME/ArchTitus/configs/setup.conf
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k
ln -s "~/zsh/.zshrc" ~/.zshrc
sed -n '/'$INSTALL_TYPE'/q;p' ~/ArchTitus/pkg-files/${DESKTOP_ENV}.txt | while read line
sed -n '/'$INSTALL_TYPE'/q;p' ~/Installer/pkg-files/${DESKTOP_ENV}.txt | while read line
do
if [[ ${line} == '--END OF MINIMAL INSTALL--' ]]
then
@ -46,7 +46,7 @@ if [[ ! $AUR_HELPER == none ]]; then
makepkg -si --noconfirm
# sed $INSTALL_TYPE is using install type to check for MINIMAL installation, if it's true, stop
# stop the script and move on, not installing any more packages below that line
sed -n '/'$INSTALL_TYPE'/q;p' ~/ArchTitus/pkg-files/aur-pkgs.txt | while read line
sed -n '/'$INSTALL_TYPE'/q;p' ~/Installer/pkg-files/aur-pkgs.txt | while read line
do
if [[ ${line} == '--END OF MINIMAL INSTALL--' ]]; then
# If selected installation type is FULL, skip the --END OF THE MINIMAL INSTALLATION-- line
@ -62,9 +62,9 @@ export PATH=$PATH:~/.local/bin
# Theming DE if user chose FULL installation
if [[ $INSTALL_TYPE == "FULL" ]]; then
if [[ $DESKTOP_ENV == "kde" ]]; then
cp -r ~/ArchTitus/configs/.config/* ~/.config/
cp -r ~/Installer/configs/.config/* ~/.config/
pip install konsave
konsave -i ~/ArchTitus/configs/kde.knsv
konsave -i ~/Installer/configs/kde.knsv
sleep 1
konsave -a kde
fi