Use proper eth prefix in #polybar
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
pkill polybar
|
||||
|
||||
wlan=`/sbin/ifconfig | grep wlp | tail -1 | cut -d ':' -f 1`
|
||||
eth=`/sbin/ifconfig | grep veth | tail -1 | cut -d ':' -f 1`
|
||||
eth=`/sbin/ifconfig | grep enx | tail -1 | cut -d ':' -f 1`
|
||||
|
||||
for m in $(polybar --list-monitors | cut -d":" -f1); do
|
||||
WLAN=$wlan ETH=$eth MONITOR=$m polybar --reload primary &
|
||||
|
||||
Reference in New Issue
Block a user