-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlink.sh
executable file
·36 lines (29 loc) · 1.14 KB
/
link.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
#!/bin/bash
DOTFILES=$HOME/.dotfiles
echo "creating symlinks"
linkables=$( ls -1 -d **/*.symlink )
for file in $linkables ; do
target="$HOME/.$( basename $file ".symlink" )"
echo "creating symlink for $file"
ln -s $DOTFILES/$file $target
done
# vim symlink
ln -s ~/.dotfiles/vim ~/.vim
# NVIM configuration
ln -s ~/.dotfiles/.config/nvim/ ~/.config/nvim
mkdir -p ~/.config/i3
ln -s ~/.dotfiles/i3/i3_config ~/.config/i3/config
mkdir -p ~/.config/polybar
ln -s ~/.dotfiles/i3/polybar/config.ini ~/.config/polybar/config.ini
ln -s ~/.dotfiles/i3/polybar/launch.sh ~/.config/polybar/launch.sh
ln -s ~/.dotfiles/.config/flake8 ~/.config/flake8
ln -s ~/.dotfiles/.config/xfce4/terminal/terminalrc ~/.config/xfce4/terminal/terminalrc
ln -s ~/.dotfiles/.config/rofi ~/.config/rofi
ln -s ~/.dotfiles/.config/redshift/redshift.conf redshift/redshift.conf
ln -s ~/.dotfiles/.config/kitty ~/.config/kitty
ln -s ~/.dotfiles/hooks ~/.pomodoro/hooks
# Home
ln -s ~/.dotfiles/home/.ripgreprc ~
ln -s ~/.dotfiles/home/.ideavimrc ~/.ideavimrc
# ipython
ln -s ~/.dotfiles/links/.ipython/profile_default/ipython_config.py ~/.ipython/profile_default/ipython_config.py