added install script

This commit is contained in:
Surferlul 2021-08-09 04:36:27 +02:00
parent ec626c424b
commit 46ded7a2f8

4
install.sh Executable file
View File

@ -0,0 +1,4 @@
#!/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/