From e5ad2c3cd4566fec0590b6be0b4d195ffd5c8066 Mon Sep 17 00:00:00 2001 From: iceyrazor Date: Sun, 15 Jun 2025 22:32:50 -0500 Subject: autodetect doas in profile, fixed floating wibar (awesome), rules for im on awesome and auto center, fixed display detect in lfrc, backup script changes --- env/.local/bin/scripts/backup/backup-tol | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 env/.local/bin/scripts/backup/backup-tol (limited to 'env/.local/bin/scripts/backup/backup-tol') diff --git a/env/.local/bin/scripts/backup/backup-tol b/env/.local/bin/scripts/backup/backup-tol new file mode 100755 index 0000000..d065b08 --- /dev/null +++ b/env/.local/bin/scripts/backup/backup-tol @@ -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 -- cgit v1.3