config/qtile: add quotes around grep regex

This commit is contained in:
Infinidoge 2021-11-01 08:28:37 -04:00
parent ae37cba036
commit 6015e9ce8a

View file

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