config/qtile: fully fix interface list command

This commit is contained in:
Infinidoge 2021-11-01 08:49:27 -04:00
parent 6015e9ce8a
commit e446e599ac

View file

@ -512,7 +512,7 @@ def init_widget_list(main=True, laptop=False):
]
for i, interface in enumerate(
os.popen(
'ifconfig -s | grep -wv -e "Iface" -e "lo" -e "vir.+" | awk {\'print $1\'} | tac'
"ifconfig -s | awk {'print $1'} | grep -Ev -e Iface -e lo -e vir.+ | tac"
)
.read()
.splitlines()