aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-10-07 10:29:07 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2017-06-01 18:37:35 +0200
commit58e661728ab7f5ecb8eedd0607493bff8666571c (patch)
tree24b01aaf085cb59a2964896d3be01c02df6965ef
parent1d5a18d17145cb152b1d2f2e43d314ee211bca92 (diff)
downloaddotfiles-58e661728ab7f5ecb8eedd0607493bff8666571c.tar.xz
i3/bar: Add zorg network
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--i3/bar.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/i3/bar.py b/i3/bar.py
index 2ce3515..27041f2 100644
--- a/i3/bar.py
+++ b/i3/bar.py
@@ -28,7 +28,12 @@ status.register("temp",
status.register("pulseaudio",
format="♪:{volume}%",)
-if hostname == "tirxu.kyriasis.com":
+if hostname == "zorg.kyriasis.com":
+ status.register("network",
+ interface="wlp4s0",
+ format_up="{essid:.10s}: {v4cidr} {quality:3.0f}%",)
+
+elif hostname == "tirxu.kyriasis.com":
status.register("network",
interface="wlp4s0",
format_up="{essid:.10s}: {v4cidr} {quality:3.0f}%",)