Anyone like to help with status bar colors?

Hi,

i´d like to change those small bars, morphing from green to red, like in inkblob´s example at the bootom of this posting:

[Status Bar codes)

The current code i´m using is from nudel, i think

{h!L} <#ff0000> {hiL} </#>{h!L}
Dirs: {sdL}/{tdL}
Dateien: {sfL}/{tfL}
{sbLa} / {tbLa}
{bg+v=sbL/700m,c=#8eb2e4,c3=#FF0000, w=25, f=2,l=0}{bg+v=sbL/1000m,c=#8eb2e4,c3=#FF0000, w=24, f=2,l=0}{bg+v=sbL/4.5g,c=#8eb2e4,c3=#FF0000, w=50, f=2,l=1}
{dfL} frei {bgL+f=2,w=50,g=0,c=#55aa55,b=#f0f0f0}{rleft-}
{h!R} <#ff0000> {hiR} </#>{h!R}
Dirs: {sdR}/{tdR}
Dateien: {sfR}/{tfR}
{sbRa} / {tbRa} {rpad}
{bg+v=sbR/700m,c=#8eb2e4,c3=#FF0000, w=25, f=2,l=0}{bg+v=sbR/1000m,c=#8eb2e4,c3=#FF0000, w=24, f=2,l=0}{bg+v=sbR/4.5g,c=#8eb2e4,c3=#FF0000, w=50, f=2,l=1}
{dfR} frei {bgR+f=2,w=50,g=0,c=#55aa55,b=#f0f0f0}
{gfl}
{ls}

what i´d like to change is the small bars (showing CD / USB sizes) & the one for the remaining space per drive. Off course i had a look on the color codes, but couldn´t really figure out, what is what.

Another small question, regarding the sizes in that status bar, how would i
declare an 8 GByte stick (or 2 or 4), since there is all that mega & mibi stuff causing confusion? :smiley:

The examples in the Status Bar Bar Graphs appendix near the back of the manual will answer at least one of your questions, and maybe all of them. Check it out and let us know which parts you still need help with.

hmm, this quite looks like complex algebraic formulas to me :slight_smile:
at least i figured out, how to change the sizes of the bars. I also don´t know what the color values are (ok, an example for "red" is given"), although i could experiment around, of course.

The main problem is, that in the manual there is an example

{bg+w=-1,f=3,t=no,c1=#00ff00,c2=ff000}, while here i have
{bg+v=sbL/700m,c=#8eb2e4,c3=#FF0000, w=35, f=2,l=0}

so i don´t know, how merge the values (is sBL to be kept, how to put the 700m thing? etc.) in one sensible expression. I´d mess it all up, i believe.

Maybe if you´re a programmer or at least experienced with scripting, this would be much easier.

One part, the three-way meters, somehow are now on the left side, how can a have them like on the right (in it´s own box, like on the right side), so that it´s matching the right side?

current code is:

{h!L} <#ff0000> {hiL} </#>{h!L}
{i:dir} {sdL}/{tdL}
{i:.txt} {sfL}/{tfL}
{sbLa} von {tbLa}
{bg+v=sbL/700m,c=#8eb2e4,c3=#FF0000, w=35, f=2,l=0}{bg+v=sbL/1000m,c=#8eb2e4,c3=#FF0000, w=35, f=2,l=0}{bg+v=sbL/4.0g,c=#8eb2e4,c3=#FF0000, w=71, f=2,l=1}
{dfR} frei {bgL+f=2,w=50,g=0,c=#55aa55,b=#f0f0f0}{rleft-}
{h!R} <#ff0000> {hiR} </#>{h!R}
{i:dir} {sdR}/{tdR}
{i:.txt} {sfR}/{tfR}
{sbRa} von {tbRa} {rpad}
{bg+v=sbR/700m,c=#8eb2e4,c3=#FF0000, w=35, f=2,l=0}{bg+v=sbR/1000m,c=#8eb2e4,c3=#FF0000, w=35, f=2,l=0}{bg+v=sbR/4.0g,c=#8eb2e4,c3=#FF0000, w=71, f=2,l=1}
{dfR} frei {bgR+f=2,w=50,g=0,c=#55aa55,b=#f0f0f0}
{gfl}
{ls}

The icon view for folders & files is really cool, is there any generic symbol to replace the "files" icon (which is now actually the .txt icon), which possibly fits a bit more? thx for tips!

I'm not sure if there is a way to have two right-aligned panels on the left-hand side. :frowning: Might need a feature request, that.

If you combine the two panels into one then it works:

{h!L} <#ff0000> {hiL} </#>{h!L} {i:dir} {sdL}/{tdL} {i:.txt} {sfL}/{tfL} {sbLa} von {tbLa} {bg+v=sbL/700m,c=#8eb2e4,c3=#FF0000, w=35, f=2,l=0}{bg+v=sbL/1000m,c=#8eb2e4,c3=#FF0000, w=35, f=2,l=0}{bg+v=sbL/4.0g,c=#8eb2e4,c3=#FF0000, w=71, f=2,l=1} {dfR} frei {bgL+f=2,w=50,g=0,c=#55aa55,b=#f0f0f0} {rleft-} {h!R} <#ff0000> {hiR} </#>{h!R} {i:dir} {sdR}/{tdR} {i:.txt} {sfR}/{tfR} {sbRa} von {tbRa} {rpad} {bg+v=sbR/700m,c=#8eb2e4,c3=#FF0000, w=35, f=2,l=0}{bg+v=sbR/1000m,c=#8eb2e4,c3=#FF0000, w=35, f=2,l=0}{bg+v=sbR/4.0g,c=#8eb2e4,c3=#FF0000, w=71, f=2,l=1} {dfR} frei {bgR+f=2,w=50,g=0,c=#55aa55,b=#f0f0f0} {gfl} {ls}

You can set it to any icon, image or file-type icon that you want. See the manual under Status Bar Control Sequences in the Appendix.


[quote="leo"]I'm not sure if there is a way to have two right-aligned panels on the left-hand side. :frowning: Might need a feature request, that.

If you combine the two panels into one then it works:

You can set it to any icon, image or file-type icon that you want. See the manual under Status Bar Control Sequences in the Appendix.[/quote]

Leo, thank you very much. This is a bit too much for my virtually nonexisting programming skills. The status bar is clean & even now.

Could you help me with changing the current color scheme to something like this?:

Of course the two upper meters should also have the %, & i´d like to have all meters, the three smaller ones & the large on either side showing that gradient, that would look very nice. So basically the color should not be solid, when the drive is half full (or whatever), but show the corresponding part of gradient, like i tried to show in the picture.

I haven't been following what's been going on in this thread but here are the approximate colors you asked for.

The left is: #6F9870
And the right is: #E3743F

[quote="JohnZeman"]I haven't been following what's been going on in this thread but here are the approximate colors you asked for.

The left is: #6F9870
And the right is: #E3743F[/quote]

yeah, thx. I experimented around a bit, but the outcome is not yet "it"
:smiley:

img233.imageshack.us/img233/8334 ... orsgv8.png

I don´t know where to put which values. hmm...