scripts

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 58b21284616b72f1049103632b8d3a7112da5c05
parent 897742ddddf0a9ec43b769fca0082b1e09b2e384
Author: Andrew Laack <andrew@laack.co>
Date:   Thu, 19 Feb 2026 13:19:23 -0600

Updated installation and status bar

Diffstat:
Minstallers/arch-public-installation.sh | 3++-
Mstatusbar.sh | 15++++++++++++++-
2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/installers/arch-public-installation.sh b/installers/arch-public-installation.sh @@ -1,7 +1,7 @@ #!/bin/bash # Full arch installer (publicly accessible resources only) -sudo pacman -S git gcc make xorg-server libxft libxinerama freetype2 pkgconf ttf-fira-code zoxide fzf openssh less arandr dmenu pass pass-otp xclip newsboat xorg-xsetroot base-devel i3lock pandoc zathura entr ripgrep wget jq man-db btop tmux rsync cronie +sudo pacman -S git gcc make xorg-server libxft libxinerama freetype2 pkgconf ttf-fira-code zoxide fzf openssh less arandr dmenu pass pass-otp xclip newsboat xorg-xsetroot base-devel i3lock pandoc zathura entr ripgrep wget jq man-db btop tmux rsync cronie mpv mkdir gitRepos cd gitRepos @@ -29,6 +29,7 @@ git clone https://aur.archlinux.org/yay.git cd yay makepkg -si yay -S librewolf-bin +yay -S pwvucontrol # RELOCATION OF SELECT REPOS mv ~/gitRepos/dotfiles ~/.config diff --git a/statusbar.sh b/statusbar.sh @@ -2,5 +2,18 @@ # this is called in a loop that runs in the background from xinitrc. +# OLD: #xsetroot -name "$(cat ~/logs/backup-status.log) | $(date)" -xsetroot -name "$(date)" + +# NEW: +LAST_SUCCESS=$(tail -n 1 ~/logs/backup-times.txt) + +if [ -n "$LAST_SUCCESS" ]; then + xsetroot -name "Last Backup: $LAST_SUCCESS | $(date)" +else + xsetroot -name "$(date)" +fi + + +# BARE: +#xsetroot -name "$(date)"