hlwm: use shell substitution instead of cut

このコミットが含まれているのは:
Lucas 2020-12-23 16:09:40 +00:00
コミット 999ed6368d

ファイルの表示

@ -166,6 +166,7 @@ hc unlock
hc detect_monitors
for m in $(hc list_monitors | cut -d : -f 1); do
hc list_monitors | while read -r line; do
m=${line%%:*}
sh ~/.config/herbstluftwm/herbstpanel.sh "$m" &
done