#!/bin/sh # Time-stamp: <2008-08-15 09:31:53 fred> # The following variables should be inherited from the calling # environment, but set here 'just in case' BG=${ALTBG:-'#2b4f98'} # dzen backgrounad FG=${ALTFG:-'grey'} # dzen foreground X=${DATE_BEGIN:-1090} W=${DATE_W:-9999} # width of the dzen bar FN=${FN:-'-*-clean-*-*-*-*-*-120-*-*-*-*-iso8859-*'} # font TIME_INT=2 while true; do date '+%a %e %B, %k:%M' sleep $TIME_INT done | dzen2 -bg $BG -fg $FG -x $X -w $W -fn $FN