Sorry for the spamming, but I just want to post this as I finally figured it out. It is below:
coretempwidget = wibox.widget.textbox()
vicious.register(coretempwidget, vicious.widgets.thermal,
function (widget, args)
return string.format("%d°C", math.floor(args[1] - 0.5))
end,
5,
{"../../module/k10temp/drivers/pci:k10temp/0000:00:18.3", "core",
"temp1_input"})
--
If two wrongs don't make a right, try three.
--
To unsubscribe, send mail to [email protected].
