Purpose: continually update the Xorg statusbar.
Usage: update_statusbar
At 2-second intervals, as long as it's still running (use $description if you start it from a shell), the statusbar for some desktop environments (notably, dwm) will have its text replaced by the output of statusbar_text, which you can change as this runs.
Changelog:
2023-230 and before: initial development
2023-235 reformat/redocument a tad
Source code (perhaps slightly corrupted) is as follows.
echo "$PATH"
PATH="${PATH}:${HOME}/bin"
while true
do
xsetroot -name "$(statusbar_text)"
sleep 2
done