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

install.sh: dont link but copy Xresources if file does not exist.

makes it easier to customize from system to system (if needed)
This commit is contained in:
Henrik Hautakoski 2026-01-09 21:33:53 +01:00
parent 313e11737e
commit ae9d18c079

View file

@ -21,13 +21,16 @@ done
$LN $BASE_PATH/bash/bashrc $HOME/.bashrc $LN $BASE_PATH/bash/bashrc $HOME/.bashrc
$LN $BASE_PATH/bash/bashrc.d/ $HOME/.bashrc.d $LN $BASE_PATH/bash/bashrc.d/ $HOME/.bashrc.d
$LN $BASE_PATH/tmux/config.conf $HOME/.tmux.conf $LN $BASE_PATH/tmux/config.conf $HOME/.tmux.conf
$LN $BASE_PATH/Xresources $HOME/.Xresources
$LN $BASE_PATH/xinitrc $HOME/.xinitrc $LN $BASE_PATH/xinitrc $HOME/.xinitrc
$LN $BASE_PATH/picom.conf $HOME/.config/picom.conf $LN $BASE_PATH/picom.conf $HOME/.config/picom.conf
$LN $BASE_PATH/fzfrc $HOME/.config/fzfrc $LN $BASE_PATH/fzfrc $HOME/.config/fzfrc
$LN $BASE_PATH/git/config $HOME/.gitconfig $LN $BASE_PATH/git/config $HOME/.gitconfig
$LN $BASE_PATH/git/conf.d/ $HOME/.config/git $LN $BASE_PATH/git/conf.d/ $HOME/.config/git
if [ ! -f "$HOME/.Xresources" ]; then
cp $BASE_PATH/Xresources $HOME/.Xresources
fi
mkdir -p $HOME/bin mkdir -p $HOME/bin
$LN $BASE_PATH/scripts/tmuxs/main.sh $HOME/bin/tmuxs $LN $BASE_PATH/scripts/tmuxs/main.sh $HOME/bin/tmuxs
for script in $(find $BASE_PATH/scripts -maxdepth 1 -type f); do for script in $(find $BASE_PATH/scripts -maxdepth 1 -type f); do