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-11-14 11:41:09 -06:00
|
|
|
cp -r $HOME/.config/VencordDesktop/VencordDesktop/ $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
|
|
|
|
rm -rf $GIT_DIR/VencordDesktop
|
|
|
|
cp -r $HOME/.config/VencordDesktop/VencordDesktop/ $GIT_DIR
|
|
|
|
|
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
|
|
|
|
cp $HOME/.config/Code/User/keybindings.json ./vscode/keybindings.json
|
|
|
|
cp $HOME/.config/Code/User/settings.json ./vscode/settings.json
|
|
|
|
|
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
|