BASHrc Upgrades, Backup Script, DWM Enhancements, Hugo Helpers, Branch Controls #7

Merged
me merged 112 commits from dev into main 2025-12-01 09:50:55 -07:00
Showing only changes of commit 72ce1e2ab5 - Show all commits

View File

@@ -25,6 +25,7 @@ function dwm-status {
} }
fi fi
battery=""; storage=""; volume=""; datetime=""; battery=""; storage=""; volume=""; datetime="";
userhost="`whoami`@`hostname`"
while true; do while true; do
# Reset Variables # Reset Variables
if [[ $datetime == *"00" ]]; then if [[ $datetime == *"00" ]]; then
@@ -54,7 +55,7 @@ function dwm-status {
readout="$readout  $battery" readout="$readout  $battery"
readout="$readout |  $storage" readout="$readout |  $storage"
readout="$readout |  $volume" readout="$readout |  $volume"
readout="$readout | `whoami`@`hostname`" readout="$readout |  $userhost"
readout="$readout $datetime" readout="$readout $datetime"
$cmd "$readout" $cmd "$readout"
readout="" readout=""