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";}'
Description
Languages
C
82.4%
Makefile
17.6%