From 6f4ef1536241e3db5d7f1843ef977ad0229c71f1 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Thu, 1 Jun 2017 18:14:45 +0200 Subject: add hydrogen to i3 bar config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- i3/bar.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/i3/bar.py b/i3/bar.py index c3368d0..5415180 100644 --- a/i3/bar.py +++ b/i3/bar.py @@ -51,6 +51,16 @@ elif hostname == "tirxu.kyriasis.com": format_up="{interface}: {v4cidr}") +elif hostname == "hydrogen.kyriasis.com": + status.register("network", + interface="wlp4s0", + format_up="{essid:.10s}: {v4cidr} {quality:3.0f}%",) + + status.register("network", + interface="enp0s32f6", + format_up="{interface}: {v4cidr}") + + status.register("disk", path="/boot", divisor=1024**2, -- cgit v1.2.3-70-g09d2