-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
39 lines (29 loc) · 930 Bytes
/
Copy pathinstall.sh
File metadata and controls
39 lines (29 loc) · 930 Bytes
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
#!/bin/sh
SCRIPT_PATH=$(readlink -f "$0")
BASEDIR=$(dirname "$SCRIPT_PATH")
mkdir -p $HOME/.config/
# x11
ln -sfn $BASEDIR/x11/xresources $HOME/.Xresources
# Fusuma
ln -sfn $BASEDIR/fusuma/ $HOME/.config/
# I3 / Sway
ln -sfn $BASEDIR/i3/ $HOME/.config/
ln -sfn $BASEDIR/sway/ $HOME/.config/
# Polybar / Waybar
ln -sfn $BASEDIR/polybar/ $HOME/.config/
ln -sfn $BASEDIR/waybar/ $HOME/.config/
# Rofi
mkdir -p $HOME/.local/share/applications/
ln -sfn $BASEDIR/rofi $HOME/.config/
ln -sfn $BASEDIR/rofi/applications/* $HOME/.local/share/applications/
# Terminal
ln -sfn $BASEDIR/alacritty/ $HOME/.config/
ln -sfn $BASEDIR/zsh/zprofile $HOME/.zprofile
ln -sfn $BASEDIR/zsh/zshrc $HOME/.zshrc
ln -sfn $BASEDIR/zsh/zshenv $HOME/.zshenv
# Autorandr
ln -sfn $BASEDIR/autorandr $HOME/.config/
# Code
mkdir -p $HOME/.config/Code/User
ln -sfn $BASEDIR/code/* $HOME/.config/Code/User/
ln -sfn $BASEDIR/git/gitconfig $HOME/.gitconfig