diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/xmobar | 2 |
1 files changed, 1 insertions, 1 deletions
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('<fc=#%s>%i</fc>K %.1f° %.2f%%' % (whitepoint, int(temperature_now), elevation, dayness)) +print('<fc=#%s>%i</fc>K %.1f° %i%%' % (whitepoint, int(temperature_now), elevation, int(dayness * 100))) |