aboutsummaryrefslogtreecommitdiffstats
path: root/i3
diff options
context:
space:
mode:
Diffstat (limited to 'i3')
-rw-r--r--i3/bar.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/i3/bar.py b/i3/bar.py
index 27041f2..c3368d0 100644
--- a/i3/bar.py
+++ b/i3/bar.py
@@ -10,6 +10,7 @@ status = Status(standalone=True)
status.register("clock",
format="%y-%m-%d %H:%M:%S%z",)
+
status.register("battery",
format="⚡:{percentage:.2f}% {remaining:%E%hh:%Mm}{status}",
alert=True,
@@ -25,14 +26,21 @@ status.register("battery",
status.register("temp",
format="{temp:.0f}°C",)
+
status.register("pulseaudio",
format="♪:{volume}%",)
+
if hostname == "zorg.kyriasis.com":
status.register("network",
interface="wlp4s0",
format_up="{essid:.10s}: {v4cidr} {quality:3.0f}%",)
+ status.register("network",
+ interface="enp0s25",
+ format_up="{interface}: {v4cidr}")
+
+
elif hostname == "tirxu.kyriasis.com":
status.register("network",
interface="wlp4s0",
@@ -42,6 +50,7 @@ elif hostname == "tirxu.kyriasis.com":
interface="enp0s20u3u1u3",
format_up="{interface}: {v4cidr}")
+
status.register("disk",
path="/boot",
divisor=1024**2,