diff options
-rw-r--r-- | X11/xinitrc | 2 | ||||
-rw-r--r-- | i3/bar.py | 9 |
2 files changed, 9 insertions, 2 deletions
diff --git a/X11/xinitrc b/X11/xinitrc index ced8386..a99d2e0 100644 --- a/X11/xinitrc +++ b/X11/xinitrc @@ -7,6 +7,4 @@ systemctl --user import-environment DISPLAY XAUTHORITY SSH_AGENT_PID SSH_AUTH_SOCK systemctl --user restart dumpwatch -ibus-daemon -d -r - exec i3 -c /home/kyrias/.config/i3/config @@ -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, |