aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-10-07 10:27:37 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2017-06-01 18:37:35 +0200
commit1d5a18d17145cb152b1d2f2e43d314ee211bca92 (patch)
tree10de2e71cf470b25b8d4df60ab34e771e42c96b7
parent4375c8c441544fb780e775467deff8109d4b7ef7 (diff)
downloaddotfiles-1d5a18d17145cb152b1d2f2e43d314ee211bca92.tar.xz
i3/bar: Re-do diskspace
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--i3/bar.py5
1 files 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()