1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 03:14:55 +02:00
dotfiles/install.sh

29 lines
510 B
Bash
Executable file

#!/bin/bash
BASE_PATH=$(dirname $(readlink -f $BASH_SOURCE))
DIRECTORIES=(
nvim
fish
alacritty
hypr
waybar
wofi
#i3
#i3status
#rofi
smartgit
lazygit
)
for target in ${DIRECTORIES[@]}; do
ln -sfr -t $HOME/.config $BASE_PATH/$target
done
ln -sfr $BASE_PATH/tmux.conf $HOME/.tmux.conf
ln -sfr $BASE_PATH/Xresources $HOME/.Xresources
mkdir -p $HOME/bin
for script in $(find $BASE_PATH/scripts -type f); do
ln -sfr $script $HOME/bin/$(basename $script)
done