dotfiles/apply.sh

28 lines
606 B
Bash
Raw Normal View History

2021-10-13 03:36:47 +00:00
#!/bin/bash
CONFIG_DIR="/home/alex/.config"
echo "Copying hlwm config... $CONFIG_DIR/herbstluftwm"
2022-01-09 22:29:04 +00:00
rsync -a herbstluftwm/ "$CONFIG_DIR/herbstluftwm"
2021-10-13 03:36:47 +00:00
if [ "$1" == "reload" ]; then
herbstclient reload
fi
echo "Copying alacritty config..."
2022-01-09 22:29:04 +00:00
rsync -a alacritty/ "$CONFIG_DIR/alacritty"
2021-10-13 03:36:47 +00:00
2022-01-18 23:22:56 +00:00
echo "Copying git config..."
rsync -a git/ "$CONFIG_DIR/git"
2021-10-18 21:41:06 +00:00
echo "Copying picom config..."
2022-01-09 22:29:04 +00:00
rsync -a picom/ "$CONFIG_DIR/picom"
2022-01-09 22:31:01 +00:00
echo "Copying emacs config..."
rsync -a emacs/ "/home/alex/.emacs.d"
2022-01-09 22:29:04 +00:00
echo "Copying rofi config..."
cp rofi/config.rasi "$CONFIG_DIR/rofi"
cp rofi/theme.rasi "$CONFIG_DIR/rofi"
2021-10-18 21:41:06 +00:00
2021-10-13 03:36:47 +00:00
echo "Done"