#!/bin/sh
# Time-stamp: <2008-08-16 21:01:01 fred>

# The following variables should be inherited from the calling
# environment, but set here 'just in case'
BG=${BG:-'grey'}  # dzen backgrounad
FG=${FG:-'black'}  # dzen foreground
X=${CPU_BEGIN:-970}
W=${CPU_W:-120}     # width of the dzen bar

FN=${FN:-'-*-clean-*-*-*-*-*-120-*-*-*-*-iso8859-*'} # font

TIME_INT=3
GFG='black'  # color of the gauge
GH=7        # height of the gauge
GBG='#999'  # color of gauge background
GW=50

INFO_PATH='/sys/devices/system/cpu/cpu0/cpufreq'

FN=${FN:-'-*-clean-*-*-*-*-*-120-*-*-*-*-iso8859-*'} # font

dzen2-gcpubar -i $TIME_INT -h $GH -w $GW -fg $GFG -bg $GBG | dzen2 -w $W -x $X -fn $FN -fg $FG -bg $BG

