i3 config and restore script

This commit is contained in:
2022-02-17 23:28:49 +01:00
parent 4374c12f1f
commit dbbb0ae713
2 changed files with 449 additions and 0 deletions

4
bin/dtfrestore.sh Normal file
View File

@@ -0,0 +1,4 @@
git clone -b base --bare $2 $1
git --git-dir="$2" --work-tree="$HOME" config --local status.showUntrackedFiles no
git --git-dir="$2" --work-tree="$HOME" checkout || echo -e 'Deal with conflicting files, then run (possibly with -f flag if you are ok with overwriting)\ngit --git-dir="$2" --work-tree="$HOME" checkout'