xrandr output is 'all or nothing' which makes it very hard to script with grep and awk. Finding connected monitors is 'easy' because the ' connected ' string is in the same line as the monitor name.
However, finding properties for a single monitor is actually very hard to do (to the point there are 'parsers' libraries only for xrandr output in the wild).
Obviously, the output is structured already but it's quite unfriendly to 'casual' script hacking usage.
My suggestion is to make some combinations that do nothing today, such as
xrandr --output MONITOR --prefs
xrandr --output MONITOR -q
xrandr --output MONITOR (maybe)
to output the section of the information from the correspondent command without '--output MONITOR' relating to the specified device.
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/app/xrandr/issues/37.