diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2016-11-11 12:09:35 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2017-06-01 18:37:35 +0200 |
commit | bc55664115467b4160be9939486c25eea9c5e132 (patch) | |
tree | b4ea3332a010390c336dab169540a53f2281eb24 /i3 | |
parent | 074a68dce6b5b912773d0d27f2e61075bc0919b6 (diff) | |
download | dotfiles-bc55664115467b4160be9939486c25eea9c5e132.tar.xz |
i3/bar: Add enp0s25 to network on zorg
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'i3')
-rw-r--r-- | i3/bar.py | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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, |