This commit is contained in:
Sajay 2021-10-24 11:21:08 +05:30
parent a9d90bec1a
commit 65f60fcc86
6 changed files with 10 additions and 10 deletions

View File

@ -105,7 +105,7 @@ linux /vmlinuz-linux
initrd /initramfs-linux.img
options root=LABEL=ROOT rw rootflags=subvol=@
EOF
cp -R ~/autoarch /mnt/root/
cp -R ~/AutoArch /mnt/root/
cp /etc/pacman.d/mirrorlist /mnt/etc/pacman.d/mirrorlist
echo "--------------------------------------"
echo "-- SYSTEM READY FOR 0-setup --"

View File

@ -265,14 +265,14 @@ fi
echo -e "\nDone!\n"
if ! source install.conf; then
read -p "Please enter username:" username
echo "username=$username" >> ${HOME}/autoarch/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/autoarch /home/$username/
chown -R $username: /home/$username/autoarch
cp -R /root/AutoArch /home/$username/
chown -R $username: /home/$username/AutoArch
else
echo "You are already a user proceed with aur installs"
fi

View File

@ -64,9 +64,9 @@ for PKG in "${PKGS[@]}"; do
done
export PATH=$PATH:~/.local/bin
cp -r $HOME/autoarch/dotfiles/* $HOME/.config/
cp -r $HOME/AutoArch/dotfiles/* $HOME/.config/
pip install konsave
konsave -i $HOME/autoarch/kde.knsv
konsave -i $HOME/AutoArch/kde.knsv
sleep 1
konsave -a kde

View File

@ -16,7 +16,7 @@ From initial Prompt type the following commands:
```
pacman -Sy git
git clone https://github.com/sajayprakash/AutoArch
cd autoarch
cd AutoArch
./autoarch.sh
```

View File

@ -1,5 +1,5 @@
#!/bin/bash
cp -r $HOME/.config/kitty $HOME/autoarch/dotfiles/kitty
cp -r $HOME/.config/kitty $HOME/AutoArch/dotfiles/kitty
konsave -s kde
konsave -e kde

View File

@ -1,8 +1,8 @@
#!/bin/bash
export PATH=$PATH:~/.local/bin
cp -r $HOME/autoarch/dotfiles/* $HOME/.config/
cp -r $HOME/AutoArch/dotfiles/* $HOME/.config/
pip install konsave
konsave -i $HOME/autoarch/kde.knsv
konsave -i $HOME/AutoArch/kde.knsv
sleep 1
konsave -a kde