Seizure / MonitorBoss

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

Allow for "complex"/logical matching to monitors in config aliases #45

Open Seizure opened 2 months ago

Seizure commented 2 months ago

eg:

mymonitor = "model=X and serial=Y" # match to the monitor with model X and serial Y
mymonitor = "model=X and serial!=Y" # match to all monitors with model X, EXCEPT serial Y
mymonitor = "(model=X and serial!=Y) or serial=Z" # match to all monitors with model X, EXCEPT serial Y; and also to serial Z 

For why this would be useful, see #44

46 is the CLI-side of this