autodetect doas in profile, fixed floating wibar (awesome), rules for im on awesome and auto center, fixed display detect in lfrc
This commit is contained in:
29
env/.local/bin/scripts/backup/backup-tol
vendored
Executable file
29
env/.local/bin/scripts/backup/backup-tol
vendored
Executable file
@@ -0,0 +1,29 @@
|
||||
cd ~/
|
||||
|
||||
fsynca () {
|
||||
# t?
|
||||
rsync -RUurvn --size-only --delete-after $exclude $syncfile "$target"
|
||||
}
|
||||
|
||||
fsyncb () {
|
||||
printf "===confirm changes?\n"
|
||||
read -p "y/n: " uinput
|
||||
if [ "$uinput" != "n" ] && [ "$uinput" != "N" ]; then
|
||||
printf "\n\n\n"
|
||||
rsync -RUurv --progress --size-only --delete-after $exclude $syncfile "$target"
|
||||
printf "\n===end sync\n---------\n\n"
|
||||
fi
|
||||
}
|
||||
|
||||
syncfile=".surf/styles .urlview .gnupg .local/bin/lf-gadgets .local/share/applications/custom .config/FreeTube .config/newsboat .config/zsh .config/vesktop/themes .keepass .config/Pinta .config/cmus stuff/notes stuff/openvpn-cons stuff/scripts stuff/media/ICE"
|
||||
|
||||
#sync game stuff
|
||||
target="laptop:~"
|
||||
exclude="--exclude mediamtx.yml --exclude stream.sh --exclude node_modules --exclude **/target"
|
||||
|
||||
|
||||
fsynca
|
||||
|
||||
printf "==CC-survival unsynced\n\n"
|
||||
|
||||
fsyncb
|
||||
Reference in New Issue
Block a user