-
Notifications
You must be signed in to change notification settings - Fork 0
/
install-dotfiles.sh
executable file
·48 lines (42 loc) · 1.25 KB
/
install-dotfiles.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/usr/bin/env bash
# Installation des paquets requis
sudo pacman -S --needed \
git \
i3-gaps i3lock \
xss-lock \
rofi \
kitty \
xorg-server xcompmgr xwallpaper xorg-xrdb \
xf86-input-{keyboard,mouse,libinput} \
redshift \
neofetch \
playerctl \
ttf-hack ttf-font-awesome ttf-dejavu ttf-bitstream-vera ttf-inconsolata \
pulseaudio pulseaudio-alsa pulseaudio-bluetooth
# Installation de polybar
polybar --version
if [ $? -ne 0 ];
then
git clone https://aur.archlinux.org/polybar.git
cd polybar
makepkg -si
cd ..
rm -rf polybar
fi
# Copie des fichiers de configuration
echo
echo "Installation des dotfiles"
echo
install -Dm644 config/wall.png $HOME/.config/wall.png
install -Dm644 config/wall_blur.png $HOME/.config/wall_blur.png
install -Dm644 config/i3/config $HOME/.config/i3/config
install -Dm644 config/polybar/config $HOME/.config/polybar/config
install -Dm644 config/rofi/config $HOME/.config/rofi/config
install -Dm644 config/redshift/redshift.conf $HOME/.config/redshift/redshift.conf
install -Dm644 .Xresources $HOME/.Xresources
install -Dm644 config/kitty/kitty.conf $HOME/.config/kitty/kitty.conf
sudo install -Dm644 etc/X11/xorg.conf.d/40-libinput.conf /etc/X11/xorg.conf.d/40-libinput.conf
echo
echo "Installation terminée !!!"
echo
exit 0