slstatus

Custom version of the Suckless status monitor
git clone git://git.danielmoch.com/slstatus.git
Log | Files | Refs | README | LICENSE

commit 36092a4a63365b5f38af04fb228dcd6c403cb2b1
parent 741cab7ed6f7e66f5153d478562bee85024c88c9
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Sat, 27 Jun 2020 18:56:27 -0400

Fix OpenBSD temperature calc

Diffstat:
Mcomponents/temperature.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/temperature.c b/components/temperature.c @@ -45,7 +45,7 @@ } /* kelvin to celsius */ - return bprintf("%d", (temp.value - 273150000) / 1E6); + return bprintf("%d", (temp.value - 273150000) / 1000000); } #elif defined(__FreeBSD__) #include <stdio.h>