awesome_configs/install.sh

5 lines
247 B
Bash
Raw Normal View History

2021-08-09 02:36:27 +00:00
#!/usr/bin/env bash
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
[ -d "$HOME/.config/awesome" ] && tar cf $SCRIPT_DIR/previous.tar $HOME/.config/awesome/ && rm $HOME/.config/awesome/
cp -r $SCRIPT_DIR $HOME/.config/