-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
executable file
·35 lines (25 loc) · 895 Bytes
/
setup.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
#!/usr/bin/env bash
export DOTFILES="$HOME/.dotfiles"
# xdg config
export XDG_CONFIG_HOME="$HOME/.config"
mkdir -p "$XDG_CONFIG_HOME"
## zsh
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
mkdir -p "$ZDOTDIR"
ln -sfn "$DOTFILES/zsh/zshenv" "$HOME/.zshenv"
ln -sfn "$DOTFILES/zsh/zprofile" "$ZDOTDIR/.zprofile"
ln -sfn "$DOTFILES/zsh/zshrc" "$ZDOTDIR/.zshrc"
ln -sfn "$DOTFILES/zsh/extra" "$ZDOTDIR/extra"
## neovim
ln -sfn "$DOTFILES/nvim" "$XDG_CONFIG_HOME/nvim"
## alacritty
ln -sfn $DOTFILES/alacritty $XDG_CONFIG_HOME/alacritty
## tmux
ln -sfn "$DOTFILES/tmux" "$XDG_CONFIG_HOME/tmux"
ln -sfn "$DOTFILES/helix" "$XDG_CONFIG_HOME/helix"
## i3
ln -sfn "$DOTFILES/i3" "$XDG_CONFIG_HOME/i3"
ln -sfn "$DOTFILES/i3status" "$XDG_CONFIG_HOME/i3status"
ln -sfn "$DOTFILES/bat" "$XDG_CONFIG_HOME/bat"
ln -sfn "$DOTFILES/picom" "$XDG_CONFIG_HOME/picom"
ln -sfn "$DOTFILES/rofi" "$XDG_CONFIG_HOME/rofi"