Hello there.
I have a monitor connected to my laptop called DP-1.
Is there a way I can find all the mode associated with that output?
Running xrandr gives me all the modes for all the outputs, but I want to integrate this into a script, so the script will find a specific mode, but that mode is for another monitor.
Maybe I can do something like: