From dd2085bf85975a82a4eeb07118de64e389994939 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 25 Feb 2014 19:01:38 +0100 Subject: print colour temperature in xmobar example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- examples/xmobar | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/xmobar b/examples/xmobar index 62015e7..9473e03 100644 --- a/examples/xmobar +++ b/examples/xmobar @@ -27,5 +27,5 @@ whitepoint = whitepoint[0] + whitepoint[1] + whitepoint[2] # Print information. -print('%.1f° (%.2f%%)' % (whitepoint, elevation, dayness)) +print('%iK (%.1f° %.2f%%)' % (whitepoint, int(temperature_now), elevation, dayness)) -- cgit v1.2.3-70-g09d2