from i3pystatus import Status

status = Status(standalone=True)

# Displays clock
status.register("clock",
                format="%Y-%m-%d(%a) %H:%M:%S")

# Displays master volume
status.register("alsa",
                format="♪:{volume}%",
                card=1)

# Displays speaker state
status.register("alsa",
                format="♪SPEAKER",
                format_muted="",
                mixer="Speaker",
                color="#FF0000",
                card=1)

# Displays battery
status.register("battery",
                format="{status}:{percentage:.2f}%",
                alert_percentage=5,
                status={
                    "DPL": "DPL",
                    "DIS": "↓",
                    "CHR": "↑",
                    "FULL": "=",
                })

# netctl-auto profile
status.register('shell',
                command='netctl-auto current',
                color='#00FF00',
                interval=60)

# Displays wifi status
status.register("network",
                interface="wlp3s0",
                format_up="WL:{v4cidr}",
                format_down="WL:DOWN")

# Ethernet
status.register('network',
                interface='ens9',
                format_up='ETHERNET:{v4cidr}',
                format_down='',
                interval=5)

# Displays VPN status
status.register("runwatch",
                name="VPN",
                path="/var/run/ppp*.pid",
                format_down="")

status.register('mem',
                format='MEM:{percent_used_mem}%',
                warn_percentage=60,
                color='#FFFFFF')

# Displays disk usage
status.register("disk",
                path="/",
                interval=300,
                format="DISK:{avail}GB")

# NowPlaying
status.register('now_playing',
                format='{status}:{title}/{artist}',
                status={'play': '<span color="#00FF00">▶</span>', 'pause': '■', 'stop': '■'},
                hints={'markup': 'pango'})

status.run()

@@ -806,77 +806,185 @@
 ile%0A
-status.register('shell',%0A                command='netctl-auto current
+command = r'r=$(netctl-auto current); %5B%5B $r == %22%22 %5D%5D ' %5C%0A          r'&& echo %22%3Cspan%3E%3C/span%3E%22 ' %5C%0A          r'%7C%7C echo %22%3Cspan color=%5C%22#00FF00%5C%22%3E@$r%3C/span%3E%22'%0Astatus.register('shell
 ',%0A 
@@ -1004,21 +1004,21 @@
   co
-lor='#00FF00'
+mmand=command
 ,%0A  
@@ -1035,19 +1035,33 @@
     
+h
 int
-erval=60
+s=%7B'markup': 'pango'%7D
 )%0A%0A#
@@ -1223,16 +1223,88 @@
 WL:DOWN%22
+,%0A                hints=%7B%22separator%22: False, %22separator_block_width%22: 0%7D
 )%0A%0A# Eth
@@ -1631,16 +1631,31 @@
 wn=%22%22)%0A%0A
+# Memory usage%0A
 status.r

Update netctl profile information