Announcement

Collapse
No announcement yet.

Conky/lua question/s

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Conky/lua question/s

    I have a few questions about a little conky/lua monitor thing I'm conking together.
    It looks like this:

    Click image for larger version

Name:	lua_mon.png
Views:	1
Size:	81.3 KB
ID:	649467

    First question is about the lua graph.
    If I use autoscale it looks like in the picture above, which is (sort of) OK, but it loses any up/down correlation.

    If I don't use autoscale it looks like this. It flies right out of the graph border, even though I specify "max=60" - which is the graph height.



    Now, obviously it works well with CPU values because they are between 1 and 100.
    Network Values are not.
    Max= doesn't (seem to) work.
    Any ideas of how I could reduce network values to between 1 and 100?
    Or any other possible solution?

    Code for the conky is here.
    The lua widget is here.
    Last edited by Don B. Cilly; May 02, 2019, 12:04 PM.
Working...
X