diff --git a/Scripts/wally b/Scripts/wally index 74b6280..a3ce8c7 100755 --- a/Scripts/wally +++ b/Scripts/wally @@ -15,6 +15,12 @@ if [ $# == 0 ]; then exit 0; fi +if [[ "$1" = "-c" ]]; then + echo "> Cleaning backups and exiting." + rm -rf wally_backup-* + exit 0; +fi + # Create backup of linked files echo "> Backing up linked files" TIMESTAMP="$(date +%F-%H:%M:%S)" @@ -44,6 +50,7 @@ else ARG=$1 echo "> Calling wal at $ARG... toot toot..." wal -i $ARG + feh --bg-fill $ARG echo "> New colorscheme generated!" fi @@ -75,7 +82,6 @@ openbox --reconfigure echo "> Openbox is reconfigured!" # Create steam theme -cp ~/.cache/wal/colors ~/.cache/wal/colors.steam python3 ~/Programs/wal_steam/mywalsteam.py -w echo "> Generated steam theme!"