Re: [dev] wmii status bar config

From: Erik Hahn <erik_hahn_AT_gmx.de>
Date: Thu, 17 Mar 2011 11:32:34 +1000

On Wed, Mar 16, 2011 at 10:32:09PM +0200, Le Tian wrote:
> HI everybody!
> I'm happy to use wmii after tweaking some things, making autorun scripts and
> binding hotkeys, all is done. But I have another question.
> I want to config my status bar, I want it to show some terminal output of
> my sensors or any bash script. Now it displays 'average load, date and
> time'. And I don't have a clue from which file does this info come from for
> wmii. I don't need average load info, what I need is to display terminal
> output of a custom script in my status bar. How do I do it?
> There was something about "wmiir read /bar" in docs, but I haven't found
> this line in my /usr/local/bin/wmii.rc file. So now I'm puzzled a bit.

Look for a function called "status" (the first line starts with "status()"
in the sh wmiirc or "fn status" in the rc wmiirc). Why is your config
file in /usr/local/bin, anyway? Normally it should reside in
/etc/wmii-<ver> or ~/.wmii-<ver>.
Received on Thu Mar 17 2011 - 02:32:34 CET

This archive was generated by hypermail 2.2.0 : Thu Mar 17 2011 - 02:36:03 CET