From 1d5a18d17145cb152b1d2f2e43d314ee211bca92 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Fri, 7 Oct 2016 10:27:37 +0200 Subject: i3/bar: Re-do diskspace MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- i3/bar.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/i3/bar.py b/i3/bar.py index bb0387a..2ce3515 100644 --- a/i3/bar.py +++ b/i3/bar.py @@ -39,11 +39,12 @@ if hostname == "tirxu.kyriasis.com": status.register("disk", path="/boot", - format="{avail}G",) + divisor=1024**2, + format="/boot: {avail}M",) status.register("disk", path="/", - format="{avail}G",) + format="/: {avail}G",) status.run() -- cgit v1.2.3-70-g09d2