From ae9d18c07983f94503b14312e599b0b4d7f8d700 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Fri, 9 Jan 2026 21:33:53 +0100 Subject: [PATCH] install.sh: dont link but copy Xresources if file does not exist. makes it easier to customize from system to system (if needed) --- install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index a44b48c..cef3f30 100755 --- a/install.sh +++ b/install.sh @@ -21,13 +21,16 @@ done $LN $BASE_PATH/bash/bashrc $HOME/.bashrc $LN $BASE_PATH/bash/bashrc.d/ $HOME/.bashrc.d $LN $BASE_PATH/tmux/config.conf $HOME/.tmux.conf -$LN $BASE_PATH/Xresources $HOME/.Xresources $LN $BASE_PATH/xinitrc $HOME/.xinitrc $LN $BASE_PATH/picom.conf $HOME/.config/picom.conf $LN $BASE_PATH/fzfrc $HOME/.config/fzfrc $LN $BASE_PATH/git/config $HOME/.gitconfig $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 $LN $BASE_PATH/scripts/tmuxs/main.sh $HOME/bin/tmuxs for script in $(find $BASE_PATH/scripts -maxdepth 1 -type f); do