config/qtile: add quotes around grep regex
This commit is contained in:
parent
ae37cba036
commit
6015e9ce8a
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue