hlwm: use shell substitution instead of cut
このコミットが含まれているのは:
コミット
999ed6368d
1個のファイルの変更、2行の追加、1行の削除
|
@ -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
|
||||
|
|
読み込み中…
Add table
Add a link
新しいイシューから参照