jakehilborn / displayplacer

macOS command line utility to configure multi-display resolutions and arrangements. Essentially XRandR for macOS.
MIT License
3.74k stars 134 forks source link

Add support for reading screen configurations from standard input #123

Closed gawashburn closed 1 year ago

gawashburn commented 1 year ago

To simplify the implementation, as it is no longer simply possible to allocate an array based upon the number of arguments, this change also switches from a storing screen configurations as array to a singly-linked list.