diff --git a/README b/README index aefa776..cfa49dd 100644 --- a/README +++ b/README @@ -1,2 +1,2 @@ this program does the same thing as this: -xrandr --props | awk '$2 ~ /^connected/ {printf $1 ":";getline;getline;for(i=0;i<16;i++){printf $1;getline;};printf "\n";}' +xrandr --props | awk '$2 ~ /^connected/ {printf $1 ":";getline;getline;while($2 == ""){printf $1;getline;};printf "\n";}'