#!/bin/rc rfork ne # Customized Bar - thanks to noam for the script idea. # sed command replaces the virtual desktop numbers with labels fn custombar { sed -u \ -e 's/^1/ one /' -e 's/^2/ two /' -e 's/^3/ three /' \ -e 's/^4/ four /' -e 's/^5/ five /' -e 's/^6/ six /' \ -e 's/^7/ seven /' -e 's/^8/ eight /' -e 's/^9/ nine /' \ -e 's/^0/ ten /' \ | bar -b -d 'H:mm a WW D/M/Y' } # Launches bar with riow and custom scripting piped to it. /dev/kbdtap |[3] custombar