-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·57 lines (51 loc) · 2.39 KB
/
install.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
49
50
51
52
53
54
55
56
57
POS=$HOME/dotfiles
mkdir "$POS/ressources"
mkdir "$HOME/.old_dotfiles"
mv "$HOME/.aliases" "$HOME/.old_dotfiles"
mv "$HOME/.functions" "$HOME/.old_dotfiles"
mv "$HOME/.bashrc" "$HOME/.old_dotfiles"
mv "$HOME/.bash_profile" "$HOME/.old_dotfiles"
mv "$HOME/.profile" "$HOME/.old_dotfiles"
mv "$HOME/.tmux.conf" "$HOME/.old_dotfiles"
mv "$HOME/.vimrc" "$HOME/.old_dotfiles"
mv "$HOME/.zshenv" "$HOME/.old_dotfiles"
mv "$HOME/.zsh_profile" "$HOME/.old_dotfiles"
mv "$HOME/.zshrc" "$HOME/.old_dotfiles"
mv "$HOME/.alacritty.yml" "$HOME/.old_dotfiles"
mv "$HOME/.config/betterlockscreenrc" "$HOME/.old_dotfiles"
mv "$HOME/.config/quick-links/config.yml" "$HOME/.old_dotfiles"
mv "$HOME/.config/quick-links/theme.rasi" "$HOME/.old_dotfiles"
mv "$HOME/.config/quick-links/catppuccin-frappe.rasi" "$HOME/.old_dotfiles"
mv "$HOME/.config/quick-links/powermenu-fonts.rasi" "$HOME/.old_dotfiles"
# Config folders
mv "$HOME/.config/nvim" "$HOME/.old_dotfiles"
mv "$HOME/.config/i3" "$HOME/.old_dotfiles"
mv "$HOME/.config/picom" "$HOME/.old_dotfiles"
mv "$HOME/.config/dunst" "$HOME/.old_dotfiles"
mv "$HOME/.config/wallshift" "$HOME/.old_dotfiles"
# Create copies of the old configuration files before installation
ln -s "$POS/.aliases" "$HOME/.aliases"
ln -s "$POS/.functions" "$HOME/.functions"
ln -s "$POS/.bashrc" "$HOME/.bashrc"
ln -s "$POS/.bash_profile" "$HOME/.bash_profile"
ln -s "$POS/.profile" "$HOME/.profile"
ln -s "$POS/.tmux.conf" "$HOME/.tmux.conf"
ln -s "$POS/.vimrc" "$HOME/.vimrc"
ln -s "$POS/.zshenv" "$HOME/.zshenv"
ln -s "$POS/.zsh_profile" "$HOME/.zsh_profile"
ln -s "$POS/.zshrc" "$HOME/.zshrc"
ln -s "$POS/.alacritty.toml" "$HOME/.alacritty.toml"
ln -s "$POS/betterlockscreen/betterlockscreenrc" "$HOME/.config/betterlockscreen/betterlockscreenrc"
ln -s "$POS/quick-links/config.yml" "$HOME/.config/quick-links/config.yml"
ln -s "$POS/quick-links/theme.rasi" "$HOME/.config/quick-links/theme.rasi"
ln -s "$POS/rofi/catppuccin-frappe.rasi" "$HOME/.config/quick-links/catppuccin-frappe.rasi"
ln -s "$POS/rofi/powermenu-fonts.rasi" "$HOME/.config/quick-links/powermenu-fonts.rasi"
# Config folders
ln -s "$POS/nvim" "$HOME/.config/nvim"
ln -s "$POS/i3" "$HOME/.config/i3"
ln -s "$POS/polybar" "$HOME/.config/polybar"
ln -s "$POS/picom" "$HOME/.config/picom"
ln -s "$POS/dunst" "$HOME/.config/dunst"
ln -s "$POS/neofetch" "$HOME/.config/neofetch"
ln -s "$POS/lf" "$HOME/.config/lf"
ln -s "$POS/wallshift" "$HOME/.config/wallshift"