screen-resolution-switcher
screen-resolution-switcher copied to clipboard
Unable to list or manage multiple resolutions
The current master branch is unable to list the resolution on multiple screens.
Expected output (available on commit 9f33910e71fb1b7d4b504c50bacfdaebe349f674):
# ./scres.swift -l
Display 0: 2880 x 1800 @ 1x @ 60Hz
Display 1: 3840 x 2160 @ 1x @ 60Hz
#
Actual output (on master):
# ./scres.swift -l
Display 0: 2880 x 1800 @ 1x @ 60Hz
#
In looking at the code (both manually and using git bisect) it seems the next commit (f4fca5ed9c474308c6e2045e16d62ad87a91ea88) is the culprit. It creates an array of size 1 rather than use the previous maxDisplays value. This seems to limit the tool to managing only the internal display.
I'm having this issue as well -- I'll try looking into it but I'm not too familiar with the code base (i.e. I've never looked into the code base before lol). will try to help as much as I can!