tellme: A Simple Shell Script Helper for XOSD
Derek Carter, a friend and former co-worker, was recently trying to use XOSD to display text on the screen while recording screencasts. As a result, I ended up creating a simple shell function to make osd_cat easier to use.
function tellme() {
echo "$*" \
| fmt -20 - \
| osd_cat -c red -p middle -A center \
-f "-*-*-bold-i-*-*-128-*-*-*-*-*-*-*"
}
I've already found this it quite helpful during my daily work flow. For example, I've used it to tell me when a large file is done moving or a compile is completed. The following screenshot shows an example.