aboutsummaryrefslogtreecommitdiffstats
path: root/i3
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2017-06-01 18:14:45 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2017-06-01 18:38:10 +0200
commit6f4ef1536241e3db5d7f1843ef977ad0229c71f1 (patch)
tree504a4b4172ad8c2dda83dcf65778f696a241e8d9 /i3
parent89869d63d0d91dc52bce13184a5b07c4fa77f6f1 (diff)
downloaddotfiles-6f4ef1536241e3db5d7f1843ef977ad0229c71f1.tar.xz
add hydrogen to i3 bar config
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'i3')
-rw-r--r--i3/bar.py10
1 files changed, 10 insertions, 0 deletions
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,