normallement sa fonctionne

This commit is contained in:
_N3m0 2023-05-26 11:07:25 +02:00
parent 0efe6ffa93
commit e0b5f5d888
2 changed files with 13 additions and 9 deletions

View File

@ -266,9 +266,10 @@ arch-chroot /mnt /script.sh
arch-chroot /mnt rm /script.sh
if [ $INSTALLGUI -eq 1 ]; then
next "intall gui config"
cp linuxrc.sh /mnt/home/$USRNAME
arch-chroot /mnt chmod +x /home/$USRNAME/linuxrc.sh
arch-chroot /mnt sudo /home/$USRNAME/linuxrc.sh
arch-chroot /mnt sudo /home/$USRNAME/linuxrc.sh $USRNAME
arch-chroot /mnt rm /home/$USRNAME/linuxrc.sh
fi

View File

@ -1,16 +1,16 @@
#!/bin/bash
cd ~/home/cptvmt
cd /home/$USRNAME
# installation paquet
# base
pacman -S xorg-server xorg-xinit xterm neofetch git
pacman -S --noconfirm xorg-server xorg-xinit xterm neofetch git
# fonts
pacman -S ttf-linux-libertine ttf-inconsolata
# dependence suckless tools
pacman -S libx11 libxft libxinerama freetype2 fontconfig
pacman -S --noconfirm ttf-linux-libertine ttf-inconsolata
# dependence suckless tools et xorg
pacman -S --noconfirm libx11 libxft libxinerama freetype2 fontconfig xf86-video-vmware
# configuration
@ -28,16 +28,19 @@ git clone https://git.suckless.org/st
git clone https://git.suckless.org/dmenu
cd dwm
make
sudo make
sudo make clean install
cd..
cd st
make
sudo make
sudo make clean install
cd ..
cd dmenu
make
sudo make
sudo make clean install
cd
touch .xinitrc
echo "exec /usr/local/bin/dwm" > .xinitrc
systemctl enable xorg