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
|
||||
|
||||
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
|
||||
|
||||
|
|
19
linuxrc.sh
19
linuxrc.sh
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue