diff --git a/i3/i3.dotfile/status.py b/i3/i3.dotfile/status.py index 3f218b8..6490c38 100644 --- a/i3/i3.dotfile/status.py +++ b/i3/i3.dotfile/status.py @@ -29,7 +29,7 @@ COLORS = { } status.register("clock", - format="%a %Y-%m-%d %H:%M:%S", + format="%a %m/%d %H:%M", color=COLORS['Magenta']) status.register("load", @@ -82,13 +82,22 @@ if os.path.exists("/sys/class/power_supply/BAT1"): if os.path.exists("/sys/class/net/wlp3s0"): status.register("wireless", interface="wlp3s0", - format_up="{essid}", + format_up="{essid} {quality:.0f}%", + format_down="", color_up=COLORS['Green'], color_down=COLORS['Red']) if os.path.exists("/sys/class/net/enp0s25"): status.register("network", interface="enp0s25", + format_down="", + color_up=COLORS['Green'], + color_down=COLORS['Red']) + +if os.path.exists("/sys/class/net/enp0s20u2c2"): + status.register("network", + interface="enp0s20u2c2", + format_down="", color_up=COLORS['Green'], color_down=COLORS['Red'])