Rename
Renamed the script to begin personalizing it and changed directory structures.
This commit is contained in:
parent
c89e1d5411
commit
da9e1ea7d4
|
|
@ -106,7 +106,7 @@ echo "--------------------------------------"
|
||||||
pacstrap /mnt base base-devel linux linux-firmware vim nano sudo archlinux-keyring wget libnewt --noconfirm --needed
|
pacstrap /mnt base base-devel linux linux-firmware vim nano sudo archlinux-keyring wget libnewt --noconfirm --needed
|
||||||
genfstab -U /mnt >> /mnt/etc/fstab
|
genfstab -U /mnt >> /mnt/etc/fstab
|
||||||
echo "keyserver hkp://keyserver.ubuntu.com" >> /mnt/etc/pacman.d/gnupg/gpg.conf
|
echo "keyserver hkp://keyserver.ubuntu.com" >> /mnt/etc/pacman.d/gnupg/gpg.conf
|
||||||
cp -R ${SCRIPT_DIR} /mnt/root/ArchTitus
|
cp -R ${SCRIPT_DIR} /mnt/root/ArchHodag
|
||||||
cp /etc/pacman.d/mirrorlist /mnt/etc/pacman.d/mirrorlist
|
cp /etc/pacman.d/mirrorlist /mnt/etc/pacman.d/mirrorlist
|
||||||
echo "--------------------------------------"
|
echo "--------------------------------------"
|
||||||
echo "-- Check for low memory systems <16G --"
|
echo "-- Check for low memory systems <16G --"
|
||||||
|
|
|
||||||
|
|
@ -251,14 +251,14 @@ fi
|
||||||
echo -e "\nDone!\n"
|
echo -e "\nDone!\n"
|
||||||
if ! source install.conf; then
|
if ! source install.conf; then
|
||||||
read -p "Please enter username:" username
|
read -p "Please enter username:" username
|
||||||
echo "username=$username" >> ${HOME}/ArchTitus/install.conf
|
echo "username=$username" >> ${HOME}/ArchHodag/install.conf
|
||||||
fi
|
fi
|
||||||
if [ $(whoami) = "root" ];
|
if [ $(whoami) = "root" ];
|
||||||
then
|
then
|
||||||
useradd -m -G wheel,libvirt -s /bin/bash $username
|
useradd -m -G wheel,libvirt -s /bin/bash $username
|
||||||
passwd $username
|
passwd $username
|
||||||
cp -R /root/ArchTitus /home/$username/
|
cp -R /root/ArchHodag /home/$username/
|
||||||
chown -R $username: /home/$username/ArchTitus
|
chown -R $username: /home/$username/ArchHodag
|
||||||
read -p "Please name your machine:" nameofmachine
|
read -p "Please name your machine:" nameofmachine
|
||||||
echo $nameofmachine > /etc/hostname
|
echo $nameofmachine > /etc/hostname
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ cd ${HOME}/yay
|
||||||
makepkg -si --noconfirm
|
makepkg -si --noconfirm
|
||||||
cd ~
|
cd ~
|
||||||
touch "$HOME/.cache/zshhistory"
|
touch "$HOME/.cache/zshhistory"
|
||||||
git clone "https://github.com/ChrisTitusTech/zsh"
|
git clone "https://github.com/ChrisTitusTech/zsh" #Pull Chris Titus zsh settings
|
||||||
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $HOME/powerlevel10k
|
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $HOME/powerlevel10k
|
||||||
ln -s "$HOME/zsh/.zshrc" $HOME/.zshrc
|
ln -s "$HOME/zsh/.zshrc" $HOME/.zshrc
|
||||||
|
|
||||||
|
|
@ -60,9 +60,9 @@ for PKG in "${PKGS[@]}"; do
|
||||||
done
|
done
|
||||||
|
|
||||||
export PATH=$PATH:~/.local/bin
|
export PATH=$PATH:~/.local/bin
|
||||||
cp -r $HOME/ArchTitus/dotfiles/* $HOME/.config/
|
cp -r $HOME/ArchHodag/dotfiles/* $HOME/.config/
|
||||||
pip install konsave
|
pip install konsave
|
||||||
konsave -i $HOME/ArchTitus/kde.knsv
|
konsave -i $HOME/ArchHodag/kde.knsv
|
||||||
sleep 1
|
sleep 1
|
||||||
konsave -a kde
|
konsave -a kde
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue