I am making a script that needs to access the computer's monitor(s) configuration. How can I do that? Is there a command or a file I could read where I can access this information?
At the moment, I do
xwininfo -root
But I only have the total resolution and not the details (What I need is the resolution of each screen individually).
Thanks!