enkore/i3pystatus — pull request #40 by jorio (2014-03-08 19:05:34+00:00)
Title: mem: allow standard float formatting syntax

Floats in mem.py can now be formatted with a standard format string (e.g. `{avail_mem:.2f}`) instead of needing an extra `round` parameter.

This brings this module in line with the expected behavior in the rest of i3pystatus.

Incidentally, this also fixes a cosmetic problem where ".0" appeared after numbers with round=0.