2023-10-08 22:26:07 -05:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
GIT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
|
|
|
|
|
|
|
|
rm -rf $GIT_DIR/fish
|
|
|
|
cp -r $HOME/.config/fish/ $GIT_DIR
|
|
|
|
mv $GIT_DIR/fish/conf.d/universal.fish $GIT_DIR/universal-shellrc.txt
|
2023-11-19 14:34:47 -06:00
|
|
|
|
2023-11-20 00:48:36 -06:00
|
|
|
# kitty
|
|
|
|
rm -rf $GIT_DIR/kitty
|
2023-10-08 22:26:07 -05:00
|
|
|
cp -r $HOME/.config/kitty/ $GIT_DIR
|
|
|
|
cp -r $HOME/.config/nvim/ $GIT_DIR
|
2023-10-10 20:23:21 -05:00
|
|
|
|
2023-11-20 00:48:36 -06:00
|
|
|
# nvim
|
|
|
|
rm -rf $GIT_DIR/nvim
|
|
|
|
cp -r $HOME/.config/nvim/ $GIT_DIR
|
|
|
|
|
|
|
|
# gpg
|
|
|
|
rm -rf $GIT_DIR/gnupg
|
2023-10-10 20:23:21 -05:00
|
|
|
mkdir $GIT_DIR/gnupg
|
|
|
|
cp $HOME/.gnupg/gpg.conf $GIT_DIR/gnupg/
|
|
|
|
cp $HOME/.gnupg/gpg-agent.conf $GIT_DIR/gnupg/
|
2023-11-19 14:34:47 -06:00
|
|
|
|
2023-11-20 00:48:36 -06:00
|
|
|
# Vesktop
|
2024-03-06 20:18:13 -06:00
|
|
|
rm -rf $GIT_DIR/vesktop
|
|
|
|
cp -r $HOME/.config/vesktop/ $GIT_DIR
|
|
|
|
rm -rf $GIT_DIR/vesktop/sessionData
|
|
|
|
rm -rf $GIT_DIR/vesktop/Crashpad
|
|
|
|
rm -f $GIT_DIR/vesktop/Singleton*
|
2023-11-20 00:48:36 -06:00
|
|
|
|
2023-11-20 01:07:05 -06:00
|
|
|
# VS code
|
2023-11-20 00:48:36 -06:00
|
|
|
rm -rf $GIT_DIR/vscode
|
2023-11-19 14:34:47 -06:00
|
|
|
mkdir $GIT_DIR/vscode
|
|
|
|
code --list-extensions >$GIT_DIR/vscode/extensions.txt
|
2023-11-23 17:50:33 -06:00
|
|
|
cp $HOME/.config/Code/User/keybindings.json $GIT_DIR/vscode/keybindings.json
|
|
|
|
cp $HOME/.config/Code/User/settings.json $GIT_DIR/vscode/settings.json
|
|
|
|
cp $HOME/.vscode/argv.json $GIT_DIR/vscode/argv.json
|
2023-11-19 14:34:47 -06:00
|
|
|
|
2023-11-20 00:48:36 -06:00
|
|
|
# i3
|
|
|
|
rm -rf $GIT_DIR/i3
|
|
|
|
cp -r $HOME/.config/i3/ .
|
|
|
|
|
|
|
|
# sway
|
|
|
|
rm -rf $GIT_DIR/sway
|
|
|
|
cp -r $HOME/.config/sway/ .
|
2023-11-20 12:09:00 -06:00
|
|
|
|
|
|
|
# greetd (for sway)
|
|
|
|
if [ -d /etc/greetd ]; then
|
|
|
|
rm $GIT_DIR/greetd/config.toml
|
|
|
|
cp /etc/greetd/config.toml $GIT_DIR/greetd/
|
|
|
|
fi
|
2023-12-06 21:46:34 -06:00
|
|
|
|
2024-02-28 13:08:48 -06:00
|
|
|
# Claws Mail configs
|
|
|
|
rm -rf $GIT_DIR/claws-mail
|
|
|
|
mkdir $GIT_DIR/claws-mail
|
|
|
|
cp $HOME/.claws-mail/clawsrc $GIT_DIR/claws-mail/clawsrc
|
|
|
|
cp $HOME/.claws-mail/matcherrc $GIT_DIR/claws-mail/matcherrc
|
|
|
|
|
2023-12-06 21:46:34 -06:00
|
|
|
# xinitrc
|
|
|
|
cp $HOME/.xinitrc $GIT_DIR/other-files/.xinitrc
|
2024-03-06 20:26:26 -06:00
|
|
|
|
|
|
|
# rofi
|
|
|
|
rm -rf $GIT_DIR/rofi/
|
|
|
|
cp -r $HOME/.config/rofi/ $GIT_DIR/rofi/
|