feat: modified icons for wifi and ethernet

This commit is contained in:
Krzysztof Rudnicki 2024-11-15 14:26:51 +01:00
parent 358379e8f7
commit 25d09028b6
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ interval=1
color=#50FA7B color=#50FA7B
[ethernet] [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 interval=10
[wifi] [wifi]

View File

@ -5,7 +5,7 @@ wifi_interface=$(iw dev | awk '$1=="Interface"{print $2}')
# If no WiFi interface is found, exit # If no WiFi interface is found, exit
if [ -z "$wifi_interface" ]; then if [ -z "$wifi_interface" ]; then
echo " WiFi: down" echo " WiFi: down"
exit 1 exit 1
fi fi