update dotfiles 11.2024

This commit is contained in:
2024-11-06 13:18:05 +01:00
parent 5b47968d93
commit c1e4702866
29 changed files with 1312 additions and 443 deletions

25
install.sh Normal file
View File

@@ -0,0 +1,25 @@
#!/bin/sh
export REPO="https://github.com/kevinmidboe/dotfiles"
export DOT_CONFIG_FOLDER="$HOME/.config"
# clone dotfiles repo
echo "Cloning github repo"
git clone --depth=1 $REPO $DOT_CONFIG_FOLDER
cd $DOT_CONFIG_FOLDER
# create symlinks
echo "Creating symlinks"
ln -s $HOME/.config/profile $HOME/.profile
ln -s $HOME/.config/wakatime.cfg $HOME/.wakatime.cfg
# copy script files
echo "Copying scripts to /usr/local/bin"
cp scripts/* /usr/local/bin/
# run install scripts
for script in install/*.sh; do
echo "Running install script $script..."
sh "$script"
done