Open noahcoad opened 1 month ago
I totally agree. I'm making a script and the values also contain comments so it is not fun to manipulate.
For instance:
Origin: (0,0) - main display
Rotation: 0 - rotate internal screen example (may crash computer, but will be rotated after rebooting): `displayplacer "id:37D8832A-2D66-02CA-B9F7-8F30A301B230 degree:90"`
Should be:
Origin: (0,0)
Rotation: 0
Samething for:
mode 2: res:1024x768 hz:60 color_depth:4 scaling:on <-- current mode
That should be:
mode 2: res:1024x768 hz:60 color_depth:4 scaling:on
... with probably a mode
value.
To make things easier for developers, please consider a JSON output.
Would be helpful to get
displayplacer list
output in json format to be able to more easily programmatically retrieve display parameters, such as id, current mode, resolution, etc