-
Notifications
You must be signed in to change notification settings - Fork 0
/
symlink.sh
executable file
·57 lines (46 loc) · 1.64 KB
/
symlink.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
#!/usr/bin/env bash
echo "deleting things"
rm -rfv $HOME/.config/nvim
rm -rfv $HOME/.config/ranger
rm -rfv $HOME/.config/polybar
rm -rfv $HOME/.config/rofi
rm -rfv $HOME/.config/i3
rm -rfv $HOME/.config/dunst
rm -rfv $HOME/.config/tmux
rm -rfv $HOME/.config/jj
rm -rfv $HOME/.config/alacritty.yml
rm -rfv $HOME/.config/wezterm/wezterm.lua
rm -rfv $HOME/.config/kitty/kitty.conf
rm -rfv $HOME/.bashrc
rm -rfv $HOME/.gitconfig
rm -rfv $HOME/.xprofile
rm -rfv $HOME/.zshrc
rm -rfv $HOME/.p10k.zsh
rm -rfv $HOME/.zsh_plugins.txt
rm -rfv $HOME/.gitignore_global
rm -rfv $HOME/.mozilla/firefox/chrome
echo "linking things"
mkdir -pv $HOME/.config
ln -sv $PWD/nvim $HOME/.config/nvim
ln -sv $PWD/ranger $HOME/.config/ranger
ln -sv $PWD/polybar $HOME/.config/polybar
ln -sv $PWD/rofi $HOME/.config/rofi
ln -sv $PWD/i3 $HOME/.config/i3
ln -sv $PWD/dunst $HOME/.config/dunst
ln -sv $PWD/tmux $HOME/.config/tmux
ln -sv $PWD/jj $HOME/.config/jj
ln -sv $PWD/alacritty.yml $HOME/.config/alacritty.yml
mkdir -pv $HOME/.config/wezterm
ln -sv $PWD/wezterm.lua $HOME/.config/wezterm/wezterm.lua
mkdir -pv $HOME/.config/kitty
ln -sv $PWD/kitty.conf $HOME/.config/kitty/kitty.conf
ln -sv $PWD/.bashrc $HOME/.bashrc
ln -sv $PWD/.gitconfig $HOME/.gitconfig
ln -sv $PWD/.xprofile $HOME/.xprofile
ln -sv $PWD/.zshrc $HOME/.zshrc
ln -sv $PWD/.p10k.zsh $HOME/.p10k.zsh
ln -sv $PWD/.zsh_plugins.txt $HOME/.zsh_plugins.txt
ln -sv $PWD/.gitignore_global $HOME/.gitignore_global
echo "NOTE: you must symlink firefox/chrome manually with a command like:"
echo "ln -sv $PWD/firefox/chrome $HOME/.mozilla/firefox/<profile>/"
echo "where you replace <profile> with the name of your firefox profile"