normallement sa fonctionne
This commit is contained in:
parent
0efe6ffa93
commit
e0b5f5d888
|
@ -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
|
||||||
|
|
||||||
|
|
19
linuxrc.sh
19
linuxrc.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue