diff --git a/0-preinstall.sh b/0-preinstall.sh index 041d175..28bc2a5 100755 --- a/0-preinstall.sh +++ b/0-preinstall.sh @@ -1,11 +1,11 @@ #!/usr/bin/env bash #------------------------------------------------------------------------- -# █████╗ ██████╗ ██████╗██╗ ██╗████████╗██╗████████╗██╗ ██╗███████╗ -# ██╔══██╗██╔══██╗██╔════╝██║ ██║╚══██╔══╝██║╚══██╔══╝██║ ██║██╔════╝ -# ███████║██████╔╝██║ ███████║ ██║ ██║ ██║ ██║ ██║███████╗ -# ██╔══██║██╔══██╗██║ ██╔══██║ ██║ ██║ ██║ ██║ ██║╚════██║ -# ██║ ██║██║ ██║╚██████╗██║ ██║ ██║ ██║ ██║ ╚██████╔╝███████║ -# ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝ +# █████╗ ██╗ ██╗████████╗ ██████╗ █████╗ ██████╗ ██████╗██╗ ██╗ +# ██╔══██╗██║ ██║╚══██╔══╝██╔═══██╗██╔══██╗██╔══██╗██╔════╝██║ ██║ +# ███████║██║ ██║ ██║ ██║ ██║███████║██████╔╝██║ ███████║ +# ██╔══██║██║ ██║ ██║ ██║ ██║██╔══██║██╔══██╗██║ ██╔══██║ +# ██║ ██║╚██████╔╝ ██║ ╚██████╔╝██║ ██║██║ ██║╚██████╗██║ ██║ +# ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ #------------------------------------------------------------------------- echo "-------------------------------------------------" @@ -18,14 +18,14 @@ setfont ter-v22b sed -i 's/^#Para/Para/' /etc/pacman.conf pacman -S --noconfirm reflector rsync mv /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup -echo -e "-------------------------------------------------------------------------" -echo -e " █████╗ ██████╗ ██████╗██╗ ██╗████████╗██╗████████╗██╗ ██╗███████╗" -echo -e " ██╔══██╗██╔══██╗██╔════╝██║ ██║╚══██╔══╝██║╚══██╔══╝██║ ██║██╔════╝" -echo -e " ███████║██████╔╝██║ ███████║ ██║ ██║ ██║ ██║ ██║███████╗" -echo -e " ██╔══██║██╔══██╗██║ ██╔══██║ ██║ ██║ ██║ ██║ ██║╚════██║" -echo -e " ██║ ██║██║ ██║╚██████╗██║ ██║ ██║ ██║ ██║ ╚██████╔╝███████║" -echo -e " ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝" -echo -e "-------------------------------------------------------------------------" +echo -e ------------------------------------------------------------------------- +echo -e █████╗ ██╗ ██╗████████╗ ██████╗ █████╗ ██████╗ ██████╗██╗ ██╗ +echo -e ██╔══██╗██║ ██║╚══██╔══╝██╔═══██╗██╔══██╗██╔══██╗██╔════╝██║ ██║ +echo -e ███████║██║ ██║ ██║ ██║ ██║███████║██████╔╝██║ ███████║ +echo -e ██╔══██║██║ ██║ ██║ ██║ ██║██╔══██║██╔══██╗██║ ██╔══██║ +echo -e ██║ ██║╚██████╔╝ ██║ ╚██████╔╝██║ ██║██║ ██║╚██████╗██║ ██║ +echo -e ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ +echo -e ------------------------------------------------------------------------- reflector -a 48 -c $iso -f 5 -l 20 --sort rate --save /etc/pacman.d/mirrorlist mkdir /mnt @@ -105,7 +105,7 @@ linux /vmlinuz-linux initrd /initramfs-linux.img options root=LABEL=ROOT rw rootflags=subvol=@ EOF -cp -R ~/ArchTitus /mnt/root/ +cp -R ~/autoarch /mnt/root/ cp /etc/pacman.d/mirrorlist /mnt/etc/pacman.d/mirrorlist echo "--------------------------------------" echo "-- SYSTEM READY FOR 0-setup --" diff --git a/1-setup.sh b/1-setup.sh index 88e866d..86731cb 100755 --- a/1-setup.sh +++ b/1-setup.sh @@ -1,11 +1,11 @@ #!/usr/bin/env bash #------------------------------------------------------------------------- -# █████╗ ██████╗ ██████╗██╗ ██╗████████╗██╗████████╗██╗ ██╗███████╗ -# ██╔══██╗██╔══██╗██╔════╝██║ ██║╚══██╔══╝██║╚══██╔══╝██║ ██║██╔════╝ -# ███████║██████╔╝██║ ███████║ ██║ ██║ ██║ ██║ ██║███████╗ -# ██╔══██║██╔══██╗██║ ██╔══██║ ██║ ██║ ██║ ██║ ██║╚════██║ -# ██║ ██║██║ ██║╚██████╗██║ ██║ ██║ ██║ ██║ ╚██████╔╝███████║ -# ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝ +# █████╗ ██╗ ██╗████████╗ ██████╗ █████╗ ██████╗ ██████╗██╗ ██╗ +# ██╔══██╗██║ ██║╚══██╔══╝██╔═══██╗██╔══██╗██╔══██╗██╔════╝██║ ██║ +# ███████║██║ ██║ ██║ ██║ ██║███████║██████╔╝██║ ███████║ +# ██╔══██║██║ ██║ ██║ ██║ ██║██╔══██║██╔══██╗██║ ██╔══██║ +# ██║ ██║╚██████╔╝ ██║ ╚██████╔╝██║ ██║██║ ██║╚██████╗██║ ██║ +# ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ #------------------------------------------------------------------------- echo "--------------------------------------" echo "-- Network Setup --" @@ -73,7 +73,6 @@ PKGS=( 'btrfs-progs' 'celluloid' # video players 'cmatrix' -'code' # Visual Studio code 'cronie' 'cups' 'dhcpcd' @@ -94,7 +93,6 @@ PKGS=( 'fuseiso' 'gamemode' 'gcc' -'gimp' # Photo editing 'git' 'gparted' # partition management 'gptfdisk' @@ -267,14 +265,14 @@ fi echo -e "\nDone!\n" if ! source install.conf; then read -p "Please enter username:" username -echo "username=$username" >> ${HOME}/ArchTitus/install.conf +echo "username=$username" >> ${HOME}/autoarch/install.conf fi if [ $(whoami) = "root" ]; then useradd -m -G wheel,libvirt -s /bin/bash $username passwd $username - cp -R /root/ArchTitus /home/$username/ - chown -R $username: /home/$username/ArchTitus + cp -R /root/autoarch /home/$username/ + chown -R $username: /home/$username/autoarch else echo "You are already a user proceed with aur installs" fi diff --git a/2-user.sh b/2-user.sh index 4fe3e47..4080485 100755 --- a/2-user.sh +++ b/2-user.sh @@ -1,11 +1,11 @@ #!/usr/bin/env bash #------------------------------------------------------------------------- -# █████╗ ██████╗ ██████╗██╗ ██╗████████╗██╗████████╗██╗ ██╗███████╗ -# ██╔══██╗██╔══██╗██╔════╝██║ ██║╚══██╔══╝██║╚══██╔══╝██║ ██║██╔════╝ -# ███████║██████╔╝██║ ███████║ ██║ ██║ ██║ ██║ ██║███████╗ -# ██╔══██║██╔══██╗██║ ██╔══██║ ██║ ██║ ██║ ██║ ██║╚════██║ -# ██║ ██║██║ ██║╚██████╗██║ ██║ ██║ ██║ ██║ ╚██████╔╝███████║ -# ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝ +# █████╗ ██╗ ██╗████████╗ ██████╗ █████╗ ██████╗ ██████╗██╗ ██╗ +# ██╔══██╗██║ ██║╚══██╔══╝██╔═══██╗██╔══██╗██╔══██╗██╔════╝██║ ██║ +# ███████║██║ ██║ ██║ ██║ ██║███████║██████╔╝██║ ███████║ +# ██╔══██║██║ ██║ ██║ ██║ ██║██╔══██║██╔══██╗██║ ██╔══██║ +# ██║ ██║╚██████╔╝ ██║ ╚██████╔╝██║ ██║██║ ██║╚██████╗██║ ██║ +# ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ #------------------------------------------------------------------------- echo -e "\nINSTALLING AUR SOFTWARE\n" @@ -45,7 +45,17 @@ PKGS=( 'ttf-hack' 'ttf-meslo' # Nerdfont package 'ttf-roboto' -'zoom' # video conferences +'firefox' +'librewolf' # Firefox fork +'mpv' +'vlc' +'signal-desktop' +'discord' +'librewolf' +'vscodium' +'qbittorrent' +'libreoffice-fresh' +'tor-browser' 'snap-pac' ) @@ -54,9 +64,9 @@ for PKG in "${PKGS[@]}"; do done export PATH=$PATH:~/.local/bin -cp -r $HOME/ArchTitus/dotfiles/* $HOME/.config/ +cp -r $HOME/autoarch/dotfiles/* $HOME/.config/ pip install konsave -konsave -i $HOME/ArchTitus/kde.knsv +konsave -i $HOME/autoarch/kde.knsv sleep 1 konsave -a kde diff --git a/3-post-setup.sh b/3-post-setup.sh index 277b569..d8053b6 100755 --- a/3-post-setup.sh +++ b/3-post-setup.sh @@ -1,11 +1,11 @@ #!/usr/bin/env bash #------------------------------------------------------------------------- -# █████╗ ██████╗ ██████╗██╗ ██╗████████╗██╗████████╗██╗ ██╗███████╗ -# ██╔══██╗██╔══██╗██╔════╝██║ ██║╚══██╔══╝██║╚══██╔══╝██║ ██║██╔════╝ -# ███████║██████╔╝██║ ███████║ ██║ ██║ ██║ ██║ ██║███████╗ -# ██╔══██║██╔══██╗██║ ██╔══██║ ██║ ██║ ██║ ██║ ██║╚════██║ -# ██║ ██║██║ ██║╚██████╗██║ ██║ ██║ ██║ ██║ ╚██████╔╝███████║ -# ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝ +# █████╗ ██╗ ██╗████████╗ ██████╗ █████╗ ██████╗ ██████╗██╗ ██╗ +# ██╔══██╗██║ ██║╚══██╔══╝██╔═══██╗██╔══██╗██╔══██╗██╔════╝██║ ██║ +# ███████║██║ ██║ ██║ ██║ ██║███████║██████╔╝██║ ███████║ +# ██╔══██║██║ ██║ ██║ ██║ ██║██╔══██║██╔══██╗██║ ██╔══██║ +# ██║ ██║╚██████╔╝ ██║ ╚██████╔╝██║ ██║██║ ██║╚██████╗██║ ██║ +# ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ #------------------------------------------------------------------------- echo -e "\nFINAL SETUP AND CONFIGURATION" diff --git a/README.md b/README.md index c2e2fc9..0ea68ba 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ArchTitus Installer Script +# autoarch Installer Script @@ -17,9 +17,9 @@ From initial Prompt type the following commands: ``` pacman -Sy git -git clone https://github.com/ChrisTitusTech/ArchTitus -cd ArchTitus -./archtitus.sh +git clone https://github.com/sajayprakash/AutoArch +cd autoarch +./autoarch.sh ``` ### System Description diff --git a/archtitus.sh b/archtitus.sh deleted file mode 100755 index db537b3..0000000 --- a/archtitus.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - - bash 0-preinstall.sh - arch-chroot /mnt /root/ArchTitus/1-setup.sh - source /mnt/root/ArchTitus/install.conf - arch-chroot /mnt /usr/bin/runuser -u $username -- /home/$username/ArchTitus/2-user.sh - arch-chroot /mnt /root/ArchTitus/3-post-setup.sh \ No newline at end of file diff --git a/autoarch.sh b/autoarch.sh new file mode 100644 index 0000000..196051e --- /dev/null +++ b/autoarch.sh @@ -0,0 +1,7 @@ +#!/bin/bash + + bash 0-preinstall.sh + arch-chroot /mnt /root/autoarch/1-setup.sh + source /mnt/root/autoarch/install.conf + arch-chroot /mnt /usr/bin/runuser -u $username -- /home/$username/autoarch/2-user.sh + arch-chroot /mnt /root/autoarch/3-post-setup.sh \ No newline at end of file diff --git a/install.example.conf b/install.example.conf index 2eb631b..a3b7b44 100644 --- a/install.example.conf +++ b/install.example.conf @@ -1,3 +1,3 @@ hostname=host -username=titus +username=s password=1234 diff --git a/kderice-backup.sh b/kderice-backup.sh index dbc109f..851cf70 100755 --- a/kderice-backup.sh +++ b/kderice-backup.sh @@ -1,5 +1,5 @@ #!/bin/bash -cp -r $HOME/.config/kitty $HOME/ArchTitus/dotfiles/kitty +cp -r $HOME/.config/kitty $HOME/autoarch/dotfiles/kitty konsave -s kde konsave -e kde \ No newline at end of file diff --git a/kderice-restore.sh b/kderice-restore.sh index ee2b8aa..c30efc9 100755 --- a/kderice-restore.sh +++ b/kderice-restore.sh @@ -1,8 +1,8 @@ #!/bin/bash export PATH=$PATH:~/.local/bin -cp -r $HOME/ArchTitus/dotfiles/* $HOME/.config/ +cp -r $HOME/autoarch/dotfiles/* $HOME/.config/ pip install konsave -konsave -i $HOME/ArchTitus/kde.knsv +konsave -i $HOME/autoarch/kde.knsv sleep 1 konsave -a kde diff --git a/titusarch.png b/titusarch.png deleted file mode 100755 index 005c184..0000000 Binary files a/titusarch.png and /dev/null differ