tshm
8/29/2008 - 12:38 AM

acpi_dzen2.sh

#!/bin/sh
# acpi notifier
LANG=C
FG="white"
BG="#555"
W=500
X=$(xwininfo -root | awk "/Width:/{print \$2-$W}")
Y=20
GEOM="-fg $FG -bg $BG -y $Y -x $X -w $W"

acpi | dzen2 $GEOM -fn rk16 -p -e 'entertitle=exit'