Conky: Cpugraph

Created on 7 Aug 2015  路  6Comments  路  Source: brndnmtthws/conky

Hello,
In the last version the optional parameter of cpugraph '' -l " does not work any more...
Thankfully Mika.

Most helpful comment

HI friends. @su8 and I tested this last month. You can see the differences between all three switches, eg (-l, -t, and -l -t) in our screenshots therefore we know the switches are working okay.

If you find the code behind the logarithmic scale or temperature gradient to be incorrect, please leave a comment explaining why and if possible, to make a pull request too to correct this behavior. Thank you.

All 6 comments

I can confirm this issue, the -l flag seems to have no effect at all

Issue supposedly partially finished at this time.

2018-08-06-092748_235x968_scrot

conky.config = {
    out_to_x=true,
    own_window=true,
    own_window_colour='272B35',
    out_to_console=false,
}
conky.text = [[
    CPU1 ${cpu cpu1}% ${alignr}CPU7 ${cpu cpu7}%
    ${cpugraph cpu1 25,97 00ff00 ff0000 -t}${alignr}${cpugraph cpu7 25,97 00ff00 ff0000 -t}
    CPU2 ${cpu cpu2}% ${alignr}CPU8 ${cpu cpu8}%
    ${cpugraph cpu2 25,97 00ff00 ff0000 -t} ${alignr}${cpugraph cpu8 25,97 00ff00 ff0000 -t}
    CPU3 ${cpu cpu3}% ${alignr}CPU9 ${cpu cpu9}%
    ${cpugraph cpu3 25,97 00ff00 ff0000 -t} ${alignr}${cpugraph cpu9 25,97 00ff00 ff0000 -t}
    CPU4 ${cpu cpu4}% ${alignr}CPU10 ${cpu cpu10}%
    ${cpugraph cpu4 25,97 00ff00 ff0000 -t} ${alignr}${cpugraph cpu10 25,97 00ff00 ff0000 -t}
    CPU5 ${cpu cpu5}% ${alignr}CPU11 ${cpu cpu11}%
    ${cpugraph cpu5 25,97 00ff00 ff0000 -t} ${alignr}${cpugraph cpu11 25,97 00ff00 ff0000 -t}
    CPU6 ${cpu cpu6}% ${alignr}CPU12 ${cpu cpu12}%

    ${color red}${hr}${color}

    CPU1 ${cpu cpu1}% ${alignr}CPU7 ${cpu cpu7}%
    ${cpugraph cpu1 25,97 00ff00 ff0000 -l}${alignr}${cpugraph cpu7 25,97 00ff00 ff0000 -l}
    CPU2 ${cpu cpu2}% ${alignr}CPU8 ${cpu cpu8}%
    ${cpugraph cpu2 25,97 00ff00 ff0000 -l} ${alignr}${cpugraph cpu8 25,97 00ff00 ff0000 -l}
    CPU3 ${cpu cpu3}% ${alignr}CPU9 ${cpu cpu9}%
    ${cpugraph cpu3 25,97 00ff00 ff0000 -l} ${alignr}${cpugraph cpu9 25,97 00ff00 ff0000 -l}
    CPU4 ${cpu cpu4}% ${alignr}CPU10 ${cpu cpu10}%
    ${cpugraph cpu4 25,97 00ff00 ff0000 -l} ${alignr}${cpugraph cpu10 25,97 00ff00 ff0000 -l}
    CPU5 ${cpu cpu5}% ${alignr}CPU11 ${cpu cpu11}%
    ${cpugraph cpu5 25,97 00ff00 ff0000 -l} ${alignr}${cpugraph cpu11 25,97 00ff00 ff0000 -l}
    CPU6 ${cpu cpu6}% ${alignr}CPU12 ${cpu cpu12}%
    ${cpugraph cpu6 25,97 00ff00 ff0000 -l} ${alignr}${cpugraph cpu12 25,97 00ff00 ff0000 -l}

    ${color orange}${hr}${color}

    CPU1 ${cpu cpu1}% ${alignr}CPU7 ${cpu cpu7}%
    ${cpugraph cpu1 25,97 00ff00 ff0000 -t -l}${alignr}${cpugraph cpu7 25,97 00ff00 ff0000 -t -l}
    CPU2 ${cpu cpu2}% ${alignr}CPU8 ${cpu cpu8}%
    ${cpugraph cpu2 25,97 00ff00 ff0000 -t -l} ${alignr}${cpugraph cpu8 25,97 00ff00 ff0000 -t -l}
    CPU3 ${cpu cpu3}% ${alignr}CPU9 ${cpu cpu9}%
    ${cpugraph cpu3 25,97 00ff00 ff0000 -t -l} ${alignr}${cpugraph cpu9 25,97 00ff00 ff0000 -t -l}
    CPU4 ${cpu cpu4}% ${alignr}CPU10 ${cpu cpu10}%
    ${cpugraph cpu4 25,97 00ff00 ff0000 -t -l} ${alignr}${cpugraph cpu10 25,97 00ff00 ff0000 -t -l}
    CPU5 ${cpu cpu5}% ${alignr}CPU11 ${cpu cpu11}%
    ${cpugraph cpu5 25,97 00ff00 ff0000 -t -l} ${alignr}${cpugraph cpu11 25,97 00ff00 ff0000 -t -l}
    CPU6 ${cpu cpu6}% ${alignr}CPU12 ${cpu cpu12}%
    ${cpugraph cpu6 25,97 00ff00 ff0000 -t -l} ${alignr}${cpugraph cpu12 25,97 00ff00 ff0000 -t -l}
]]

@su8 All three cpugraphs came out different due to -t, -l, and -t -l flags. Everything seems to be working okay, I figure nothing is better than checking codes. The guy who made the PR said it was partially completed so I don't know where we stand here. If you can't find anything wrong, then maybe it is good enough... Still, I think @brndnmtthws should sign off on this first.

HI friends. @su8 and I tested this last month. You can see the differences between all three switches, eg (-l, -t, and -l -t) in our screenshots therefore we know the switches are working okay.

If you find the code behind the logarithmic scale or temperature gradient to be incorrect, please leave a comment explaining why and if possible, to make a pull request too to correct this behavior. Thank you.

Was this page helpful?
0 / 5 - 0 ratings