linuxrc/linuxrc.sh

52 lines
932 B
Bash
Raw Normal View History

2023-05-26 09:31:53 +02:00
#!/bin/bash
2023-05-26 12:29:11 +02:00
cd ~
2023-05-26 09:31:53 +02:00
# installation paquet
# base
2023-05-26 12:29:11 +02:00
sudo pacman -S --noconfirm xorg-server xorg-xinit xterm neofetch git
2023-05-26 09:31:53 +02:00
# fonts
2023-05-26 12:29:11 +02:00
sudo pacman -S --noconfirm ttf-linux-libertine ttf-inconsolata
2023-05-26 11:07:25 +02:00
# dependence suckless tools et xorg
2023-05-26 12:29:11 +02:00
sudo 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
2023-07-07 13:11:40 +02:00
loadkeys fr-latin1
2023-05-26 09:31:53 +02:00
# 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
2023-05-26 11:50:56 +02:00
echo "[[ ! \$DISPLAY && \$XDG_VTNR -eq 1 ]] && startx" >> .bash_profile
2023-05-26 12:01:11 +02:00
echo "installatin fini, appuez sur entrez pour redemarrer"
read
reboot