2023-05-26 09:31:53 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2023-05-26 11:07:25 +02:00
|
|
|
cd /home/$USRNAME
|
2023-05-26 09:31:53 +02:00
|
|
|
|
|
|
|
# installation paquet
|
|
|
|
|
|
|
|
|
|
|
|
# base
|
2023-05-26 11:07:25 +02:00
|
|
|
pacman -S --noconfirm xorg-server xorg-xinit xterm neofetch git
|
2023-05-26 09:31:53 +02:00
|
|
|
# fonts
|
2023-05-26 11:07:25 +02:00
|
|
|
pacman -S --noconfirm ttf-linux-libertine ttf-inconsolata
|
|
|
|
# dependence suckless tools et xorg
|
|
|
|
pacman -S --noconfirm libx11 libxft libxinerama freetype2 fontconfig xf86-video-vmware
|
2023-05-26 09:31:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
# configuration
|
|
|
|
|
|
|
|
|
|
|
|
localectl set-x11-keymap fr
|
|
|
|
|
|
|
|
|
|
|
|
# installer suckless truc (temps pas besoin plus tard)
|
2023-05-26 09:40:03 +02:00
|
|
|
mkdir .suckless
|
|
|
|
cd .suckless
|
|
|
|
|
2023-05-26 09:31:53 +02:00
|
|
|
git clone https://git.suckless.org/dwm
|
|
|
|
git clone https://git.suckless.org/st
|
|
|
|
git clone https://git.suckless.org/dmenu
|
|
|
|
|
|
|
|
cd dwm
|
2023-05-26 11:07:25 +02:00
|
|
|
sudo make
|
2023-05-26 09:31:53 +02:00
|
|
|
sudo make clean install
|
|
|
|
cd..
|
|
|
|
cd st
|
2023-05-26 11:07:25 +02:00
|
|
|
sudo make
|
2023-05-26 09:31:53 +02:00
|
|
|
sudo make clean install
|
|
|
|
cd ..
|
|
|
|
cd dmenu
|
2023-05-26 11:07:25 +02:00
|
|
|
sudo make
|
2023-05-26 09:31:53 +02:00
|
|
|
sudo make clean install
|
|
|
|
cd
|
2023-05-26 09:40:03 +02:00
|
|
|
|
|
|
|
touch .xinitrc
|
2023-05-26 11:07:25 +02:00
|
|
|
echo "exec /usr/local/bin/dwm" > .xinitrc
|
|
|
|
|
|
|
|
systemctl enable xorg
|