[dwm] Statusbar gadget: cpubar

From: Robert Manea <rob.manea_AT_googlemail.com>
Date: Mon, 18 Jun 2007 10:10:36 +0200


Just in case anyone is interested here is another gadget for your
statusbar or for use with dzen, a cpu usage meter.

It was designed to work with Linux and relies on the existance of

Usage: cpubar [-c <charcount>] [-s <symbol>] [-i <interval>]

        charcount = number of chars to be considered 100%
                    (defaults to 25)
        symbol = a single character representing the corresponding
                    percentage value (defaults to '=')
        interval = update interval in seconds (defaults to 1)

Used with dzen it could looks like this:

Get cpubar here:

The commandline for the above shot:
    cpubar | \
        dzen2 -bg '#aecfaa' -fg black -w 235 -ta l \
        -fn '-*-profont-*-*-*-*-11-*-*-*-*-*-iso8859' \
        -x 350 -e 'button1=exec:uterm -e htop'

Bye, Rob.
Received on Mon Jun 18 2007 - 10:10:39 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:44:46 UTC