Add empty IFS for single var reads

This commit is contained in:
Lucas Gabriel Vuotto 2024-02-05 16:06:50 +00:00
parent 134c479e36
commit 49d068aad3
6 changed files with 7 additions and 7 deletions

View file

@ -169,7 +169,7 @@ hc unlock
hc detect_monitors
hc list_monitors | while read -r line; do
hc list_monitors | while IFS= read -r line; do
m=${line%%:*}
sh ~/.config/herbstluftwm/herbstpanel.sh "$m" &
done