Seizure / MonitorBoss

GNU Lesser General Public License v3.0
2 stars 1 forks source link

comparison in "tog" command doesn't work if user-provided input source is "converted" by the monitor to another #15

Open Seizure opened 5 months ago

Seizure commented 5 months ago

For example, some dell monitors will accept DP2 as an input source, but actually convert it to 27 (USB-C). Then, when the input source is retrieved, the monitor will provide 27, not the originally provided DP2, so it won't match correctly.

To reproduce, send the following command to such a monitor: tog src DP2 DP1 <monitor>

This could be fixed with another aliases section, but is there a more elegant way?