mirror of
https://github.com/kuhyx/scripts.git
synced 2026-07-04 13:03:05 +02:00
fix: make ethernet block work on more devices
This commit is contained in:
parent
9aaeca58c4
commit
90411ddf7d
@ -45,7 +45,7 @@ interval=1
|
||||
|
||||
|
||||
[ethernet]
|
||||
command=ip -o -4 addr show enp6s0 | awk '{print " "$4}' || echo " down" # for Ethernet
|
||||
command=ip -o -4 addr show | grep -E 'enp6s0|eth0' | awk '{print " "$4}' || echo " down" # for Ethernet
|
||||
interval=10
|
||||
color=#FFFFFF
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user