Re: [dev] wmii how to replace status bar with dzen2

2011-02-09 Thread Michael
On 08/02/2011 22:11, Julien Jehannet wrote: This solution works not so bad but if you want to create a full graphics bar I recommend you to switch to the combo: conky (cli) + dzen2. Nevertheless in wmii, I prefer to manage my left bar (views) by wmii events directly. Did you managed to get dz

Re: [dev] wmii how to replace status bar with dzen2

2011-02-09 Thread Michael
On 08/02/2011 11:58, Thomas Dahms wrote: In hg tip, you write text with "label" and color with "colors". Before, you just wrote everything directly. If you are using 3.9.2, you can try omitting the prefix and just write wmiir xwrite /rbar/status "#55 #ededeb #dcdcdb" It works now, thank yo

Re: [dev] wmii how to replace status bar with dzen2

2011-02-08 Thread Julien Jehannet
2011/2/7 Michael : > On 07/02/2011 10:19, Thomas Dahms wrote: >> >> I don't see the point in using a third-party status bar with wmii, you > > (...) > > Probably I could get away with text info instead of icons, but then I still > need some way of changing the color of given text depending on it's

Re: [dev] wmii how to replace status bar with dzen2

2011-02-08 Thread Thomas Dahms
With the sh wmiirc, you can also change color of the status bar, with something like wmiir xwrite /rbar/status "color #55 #ededeb #dcdcdb" That one puts the "color #55 #ededeb #dcdcdb" text into my bar instead of changing it's color. What did I missed? It is "colors", not "color", s

Re: [dev] wmii how to replace status bar with dzen2

2011-02-08 Thread Michael
On 07/02/2011 11:55, Thomas Dahms wrote: With the sh wmiirc, you can also change color of the status bar, with something like wmiir xwrite /rbar/status "color #55 #ededeb #dcdcdb" That one puts the "color #55 #ededeb #dcdcdb" text into my bar instead of changing it's color. What did

Re: [dev] wmii how to replace status bar with dzen2

2011-02-07 Thread Michael
On 07/02/2011 16:53, Thomas Dahms wrote: One more thing: Remember that wmiirc sources wmiirc_local. You should be able to put all your customizations into an wmiirc_local without having the need to modifiy wmiirc. Which is handy since the upstream wmiirc may change at times. Unfortunately, I don

Re: [dev] wmii how to replace status bar with dzen2

2011-02-07 Thread Thomas Dahms
For now I'm not bothered with colors etc. I just need a working example of how to automatically put some data (refreshed every second) into my /rbar/cpu. Any ideas please? Just create a similar function and Action: cpu() { echo -n 'CPU:' $(sysctl -n dev.cpu.0.freq) 'MHz' } Action cpu se

Re: [dev] wmii how to replace status bar with dzen2

2011-02-07 Thread Michael
On 07/02/2011 11:55, Thomas Dahms wrote: With the sh wmiirc, you can also change color of the status bar, with something like wmiir xwrite /rbar/status "color #55 #ededeb #dcdcdb" You can only write label (i.e. text) or color at a time, so you have to modify the "Action status" piece in wmi

Re: [dev] wmii how to replace status bar with dzen2

2011-02-07 Thread Thomas Dahms
My reason is that I can use small icons with dzen2 and they can change colors. So for example when my battery life goes low then the battery icon is turning red. Probably I could get away with text info instead of icons, but then I still need some way of changing the color of given text dep

Re: [dev] wmii how to replace status bar with dzen2

2011-02-07 Thread Michael
On 07/02/2011 10:19, Thomas Dahms wrote: I don't see the point in using a third-party status bar with wmii, you My reason is that I can use small icons with dzen2 and they can change colors. So for example when my battery life goes low then the battery icon is turning red. Probably I coul

Re: [dev] wmii how to replace status bar with dzen2

2011-02-07 Thread Jan
On Mon, 07 Feb 2011 11:19:37 +0100, "Thomas Dahms" wrote: > Or, if you want to do it right, you have to hack up the event > processing [snip] ...which would be a pretty neat thing to have, anyway, I guess :) jan

Re: [dev] wmii how to replace status bar with dzen2

2011-02-07 Thread Thomas Dahms
Yes but I mean where should I exec dzen2? If I put it in .xsession then it gets covered by a standard status bar. Should it go to wmiirc then? Try "wistrut dzen2". This will free some space for dzen2. You will also have to turn off the wmii bar, but I don't know if there is a way other than

Re: [dev] wmii how to replace status bar with dzen2

2011-02-07 Thread Michael
On 07/02/2011 04:31, Wolf Tivy wrote: You may find it a bit silly question, but what is the proper way to replace standard status bar info with dzen2? Print it to standard out. Pipe it to dzen2. Yes but I mean where should I exec dzen2? If I put it in .xsession then it gets covered by a s

RE: [dev] wmii how to replace status bar with dzen2

2011-02-06 Thread Wolf Tivy
> You may find it a bit silly question, but what is the proper way to > replace standard status bar info with dzen2? > > I do have my fancy sh script that generates everything I want to be > displayed. I just don't know how to put it in the status bar. Print it to standard out. Pipe it to dzen

[dev] wmii how to replace status bar with dzen2

2011-02-06 Thread Michael
Hello, You may find it a bit silly question, but what is the proper way to replace standard status bar info with dzen2? I do have my fancy sh script that generates everything I want to be displayed. I just don't know how to put it in the status bar. Michael