aboutsummaryrefslogtreecommitdiff
path: root/env/.local/bin
diff options
context:
space:
mode:
authoriceyrazor <iceyrazor@mailfence.com>2025-06-15 22:32:50 -0500
committericeyrazor <iceyrazor@mailfence.com>2025-06-15 22:32:50 -0500
commite5ad2c3cd4566fec0590b6be0b4d195ffd5c8066 (patch)
tree3bc8c8f15bfe0e47fc638ab8c249f5939b440925 /env/.local/bin
parenta0048ec816f42e15b7413f552a9946e450baa080 (diff)
autodetect doas in profile, fixed floating wibar (awesome), rules for im on awesome and auto center, fixed display detect in lfrc, backup script changes
Diffstat (limited to 'env/.local/bin')
-rwxr-xr-xenv/.local/bin/scripts/backup/backup-tol29
-rwxr-xr-xenv/.local/bin/scripts/backup/backup-tol231
2 files changed, 60 insertions, 0 deletions
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
diff --git a/env/.local/bin/scripts/backup/backup-tol2 b/env/.local/bin/scripts/backup/backup-tol2
new file mode 100755
index 0000000..1f0a66d
--- /dev/null
+++ b/env/.local/bin/scripts/backup/backup-tol2
@@ -0,0 +1,31 @@
+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 .local/bin/lf-gadgets .local/share/applications/custom .config/newsboat .config/zsh .keepass .config/Pinta .config/cmus stuff/notes stuff/openvpn-cons stuff/media/ICE stuff/scripts/iceys-linux-stuffs stuff/scripts/system"
+
+# stuff/scripts .gnupg
+
+#sync game stuff
+target="laptop2:~"
+exclude="--exclude mediamtx.yml --exclude stream.sh --exclude node_modules --exclude **/target"
+
+
+fsynca
+
+printf "==CC-survival unsynced\n\n"
+
+fsyncb