I want to display uptime in “days, hours minutes” format.
The systeminfo binding sets the uptime value in minutes.
javascript transform can do the conversion (see here)
The current setting is:
in .items:
Number CPU_Uptime "Uptime [JS(duration.js):%s]" <clock> (gSystem) { channel="systeminfo:computer:work:cpu#uptime" }
If it is possible to call a javascript transform script from within habpanel, what will the call look like?
If not, is there another way to present the uptime in a “days, hours minutes” string format from within habpanel?