diff --git a/i3blocks/config b/i3blocks/config index 8966980..1de1aa2 100644 --- a/i3blocks/config +++ b/i3blocks/config @@ -40,7 +40,7 @@ interval=1 color=#50FA7B [ethernet] -command=ip -o -4 addr show enp6s0 | awk '{print " LAN: "$4}' || echo " LAN: down" #  for Ethernet +command=ip -o -4 addr show enp6s0 | awk '{print " LAN: "$4}' || echo " LAN: down" #  for Ethernet interval=10 [wifi] diff --git a/i3blocks/wifi_monitor.sh b/i3blocks/wifi_monitor.sh index eb27370..d3d60e1 100755 --- a/i3blocks/wifi_monitor.sh +++ b/i3blocks/wifi_monitor.sh @@ -5,7 +5,7 @@ wifi_interface=$(iw dev | awk '$1=="Interface"{print $2}') # If no WiFi interface is found, exit if [ -z "$wifi_interface" ]; then - echo " WiFi: down" + echo " WiFi: down" exit 1 fi