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 6ccdb395cd - Show all commits

View File

@@ -35,8 +35,23 @@ xsetroot -solid "$purple"
#exec slstatus &
# Custom #
source `which volume.function`
source `which battery.function`
source `which storage.function`
if [[ "`storage-root`" == "`storage-home`" ]]; then
storage_cmd=echo 'Storage: `storage-root-dwm`)"'
else
storage_cmd=echo '"Storage(Root:`storage-root-dwm` Home:`storage-home-dwm`)'
fi
while true; do
xsetroot -name "`whoami`@`hostname` `date +"%Y-%m-%d %H:%M:%S"`"
readout="$readout Battery: `battery-display`"
readout="$readout | `storage_cmd`"
readout="$readout | `volume-display`"
readout="$readout | `whoami`@`hostname`"
readout="$readout `date +"%Y-%m-%d %H:%M:%S"`"
xsetroot -name "$readout"
readout=""
sleep 0.75
done &