Replace "bashism" with POSIX syntax.

This commit is contained in:
Scott Leggett 2016-04-28 14:05:49 +10:00 committed by Yuxuan Shui
parent 9770b2eee2
commit d458369f1d
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ fi
if test x"$action" = x'reset'; then
xwininfo -root -tree \
| sed -n 's/^ \(0x[[:xdigit:]]*\).*/\1/p' \
| while IFS=$'\n' read wid; do
| while IFS=$(printf '\n') read wid; do
xprop -id "$wid" -remove _NET_WM_WINDOW_OPACITY
done
exit 0