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 arch-chroot /mnt rm /script.sh
if [ $INSTALLGUI -eq 1 ]; then if [ $INSTALLGUI -eq 1 ]; then
next "intall gui config"
cp linuxrc.sh /mnt/home/$USRNAME cp linuxrc.sh /mnt/home/$USRNAME
arch-chroot /mnt chmod +x /home/$USRNAME/linuxrc.sh 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 arch-chroot /mnt rm /home/$USRNAME/linuxrc.sh
fi fi

View File

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