commit 106911b7a2b9db3ed69295b86a1e91a06398b84a
parent f7fd3f137c7a5b886020c1e2133d716c65dbd329
Author: andrew.laack <andrew.laack@imbue.com>
Date: Thu, 4 Sep 2025 15:47:00 -0500
Updated a few scripts
Diffstat:
4 files changed, 36 insertions(+), 11 deletions(-)
diff --git a/abduco.sh b/abduco.sh
@@ -38,5 +38,6 @@ if [ -n "$1" ]; then
st -e abduco -A "$dirWO" dvtm
else
res=$(abduco | tail -n +2 | tr '*' ' ' | awk '{print $5}' | fzf)
+ abduco -A $res
fi
diff --git a/backupHelper.sh b/backupHelper.sh
@@ -20,10 +20,10 @@ if [ $? -eq 0 ]; then
du -s /home/serverBackup
echo "=== COMPLETED SUCCESSFULLY ==="
echo "Backup Success ($(date '+%Y-%m-%d %H:%M'))" > "/home/andrew/logs/backup-status.log"
- notify-send -t 5000 "SYNC SUCCEEDED"
+ notify-send -t 5000 "Sync succeeded"
else
echo "=== RSYNC FAILED ==="
echo "Backup Failed - ($(date '+%Y-%m-%d %H:%M'))" > "/home/andrew/logs/backup-status.log"
- notify-send -u critical -t 5000 "ERROR - SYNC FAILED"
+ notify-send -u critical -t 5000 "Error! Sync Failed"
fi
diff --git a/installers/arch-install.sh b/installers/arch-install.sh
@@ -10,9 +10,13 @@ git clone ssh://brgr/home/shared/git/public-repos/scripts.git
mv scripts bin
sudo pacman -Sy xorg
sudo pacman -Sy cron
+sudo systemctl enable cronie.service
+sudo systemctl start cronie.service
sudo pacman -Sy ocaml # for installing unison
sudo pacman -Sy arandr
sudo pacman -Sy torbrowser-launcher
+sudo systemctl enable tor
+sudo systemctl start tor
git clone ssh://brgr/home/shared/git/public-repos/dotfiles.git
mv dotfiles .config
@@ -23,6 +27,7 @@ sudo pacman -Sy ttf-fira-code
sudo pacman -Sy pavucontrol
sudo pacman -Sy pulseaudio
sudo pacman -Sy rsync
+sudo pacman -Sy sshfs
sudo pacman -Sy flameshot
sudo pacman -Sy yt-dlp
sudo pacman -S notify-send
@@ -49,11 +54,21 @@ cd unison
PREFIX=/usr/local/bin
make
sudo make install
+sudo cp /usr/local/bin/unison /bin/unison
cd
source ~/.bashrc
mkdir syncing
unison syncing ssh://brgr//home/shared/fileSharing/syncing -auto -batch
+# SFM
+
+# cd
+# cd gitRepos
+# git clone ssh://brgr/home/shared/git/public-repos/sfm.git
+# cd sfm
+# sudo make install
+# cd
+
## DWM
@@ -94,6 +109,7 @@ sudo pacman -Sy fzf
sudo pacman -Sy ripgrep
sudo pacman -Sy xclip
sudo pacman -Sy zathura
+# Maybe not needed...
sudo pacman -Sy tmux
sudo pacman -Sy zathura-pdf-mupdf
sudo pacman -Sy uv
@@ -103,6 +119,7 @@ sudo pacman -Sy btop
sudo pacman -Sy pandoc
sudo pacman -Sy texlive
sudo pacman -Sy entr
+sudo pacman -Sy newsboat
# Yay
@@ -119,14 +136,14 @@ rm -rf yay
yay -S pandoc-bin
yay -S librewolf-bin
-# cd ~/gitRepos
-# git clone ssh://brgr/home/shared/git/private-repos/dvtm.git
-# git clone ssh://brgr/home/shared/git/private-repos/abduco.git
-# cd dvtm
-# sudo make install
-# cd ../abduco
-# sudo make install
-# cd
+cd ~/gitRepos
+git clone ssh://brgr/home/shared/git/public-repos/dvtm.git
+git clone ssh://brgr/home/shared/git/public-repos/abduco.git
+cd dvtm
+sudo make install
+cd ../abduco
+sudo make install
+cd
## RSYNC (directory sync)
# This is used to ensure I have a synchronized directory (~/syncing) with my server
diff --git a/sync.sh b/sync.sh
@@ -1,3 +1,10 @@
#!/bin/bash
-unison ~/syncing ssh://brgr//home/shared/fileSharing/syncing -auto -batch
+echo "==== RUNNING ====" | tee -a /home/andrew/logs/sync.log
+date | tee -a /home/andrew/logs/sync.log
+unison ~/syncing ssh://brgr//home/shared/fileSharing/syncing -auto -batch 2>&1 \
+ | sed 's/\x1b\[[0-9;]*[a-zA-Z]//g' \
+ | tr -d '\r' \
+ | tee -a /home/andrew/logs/sync.log
+echo "==== STOPPING ====" | tee -a /home/andrew/logs/sync.log
+