From fad80f98d45fbda40ebb5140517d75c6dbae864f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 26 Feb 2014 09:44:57 +0100 Subject: xmobar example derp: %.2f % dayness => %i % dayness*100 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(-) (limited to 'examples/xmobar') diff --git a/examples/xmobar b/examples/xmobar index f25d984..c7ec2f7 100644 --- a/examples/xmobar +++ b/examples/xmobar @@ -27,5 +27,5 @@ whitepoint = whitepoint[0] + whitepoint[1] + whitepoint[2] # Print information. -print('%iK %.1f° %.2f%%' % (whitepoint, int(temperature_now), elevation, dayness)) +print('%iK %.1f° %i%%' % (whitepoint, int(temperature_now), elevation, int(dayness * 100))) -- cgit v1.2.3-70-g09d2