From 1ed9afbadd18cb72a32acdfb3dd3f6934bb1bc4d Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Thu, 30 Mar 2023 17:32:56 +0200 Subject: fix system install --- nais | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/nais b/nais index 88c7cc9..e48600d 100755 --- a/nais +++ b/nais @@ -135,15 +135,16 @@ install_arch() { arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg - arch-chroot -u "$USERNAME" /mnt sh -c "mkdir /home/$USERNAME/system" - arch-chroot -u "$USERNAME" /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/wayland/dwl && cd dwl && sudo make install" - arch-chroot -u "$USERNAME" /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/wayland/wlock && cd wlock && sudo make install" - arch-chroot -u "$USERNAME" /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/wayland/dmenu-wl && cd dmenu-wl && sudo make install" - arch-chroot -u "$USERNAME" /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/wayland/dbar && cd dbar && sudo make install" - arch-chroot -u "$USERNAME" /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/st && cd st && sudo make install" - arch-chroot -u "$USERNAME" /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/status && cd status && sudo make install" - arch-chroot -u "$USERNAME" /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/dotfiles && cd dotfiles && ./dotter" - arch-chroot -u "$USERNAME" /mnt sh -c "cd /home/$USERNAME/ && git clone https://aur.archlinux.org/yay && cd yay && makepkg -si --noconfirm && cd / && rm -rf /home/$USERNAME/yay" + arch-chroot /mnt sh -c "mkdir /home/$USERNAME/system" + arch-chroot /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/wayland/dwl && cd dwl && sudo make install" + arch-chroot /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/wayland/wlock && cd wlock && sudo make install" + arch-chroot /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/wayland/dmenu-wl && cd dmenu-wl && sudo make install" + arch-chroot /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/wayland/dbar && cd dbar && sudo make install" + arch-chroot /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/st && cd st && sudo make install" + arch-chroot /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/status && cd status && sudo make install" + arch-chroot /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/dotfiles && cd dotfiles && ./dotter" + arch-chroot /mnt sh -c "cd /home/$USERNAME/ && git clone https://aur.archlinux.org/yay && cd yay && makepkg -si --noconfirm && cd / && rm -rf /home/$USERNAME/yay" + arch-chroot /mnt chown -R "$USERNAME":"$USERNAME" "/home/$USERNAME/system" echo Finished. exit -- cgit v1.2.3-70-g09d2