* Jake Todd <jaketodd...@gmail.com> [2009-05-03 05:31]:
> What are you guys using?

I use 

in .Xsession

        while  true ; do
                xsetroot -name "`${HOME}/.status`";
                sleep 4;
        done &

and here is .status

cat .status                                                  |~
#!/bin/sh
        sswriter \
        -w 10 \
        -f /home/stanio/.current_song /home/stanio/.recent_events \
        -a 20 25 \
        -t THRM \
        -D eth0 eth2 \
        -d "%Y-%m-%d %a %H:%M'%S" \
        -s PCM Master Mic \
        "%[ | %f0%] %[ | %f1%] |%(B* WARNING * BATTERY *%)%(b%v1%V1 %v2%V2| %d| 
%m %sMB| %n%(w %q%%%) %i:%o kB| %C0MHz %p0%%| %b0%%| %t0°C%)"

Sswriter is pretty powerful c program posted perhaps  more than year
ago on the wmii mailing list, as I was still half wmii user. I use a
patched 0.3.1 version. 

sample output of ./.status is:
 song | event |81on 80off| 2009-05-09 Sat 11:44'18| 278 0MB| eth0 0.0:0.0 kB| 
798MHz 46%| 100%| 53°C

which translates to

 song|event|volume of headphones and 
micropone|date|memory+swap|link|cpu|battery|temp

For those interested:

http://www.mail-archive.com/w...@suckless.org/msg01935.html

I noticed I very rarely look at most of the stuff in this status bar thoug,
so I am thinking of 2 staged status query -- e.g. date/time and temp in the
dwm status bar; The rest can be queried 'on demand' in the console.

-- 
 cheers
 stanio_

Reply via email to