Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 277 Bytes
FOREGROUND='#cccccc'
BACKGROUND='#222222'
_gen_font_string() {
echo "-*-ubuntu-*-r-*-*-${1:-16}-*-*-*-*-*-*-*"
}
FONT=$(_gen_font_string)
SMALL_FONT=$(_gen_font_string 14)
TIMEOUT=3
dzen_text() {
dzen2 -fg ${FOREGROUND} -bg ${BACKGROUND} -fn ${FONT} -p ${TIMEOUT}
}