alex-courtis / way-displays

way-displays: Auto Manage Your Wayland Displays
MIT License
252 stars 13 forks source link

Feature: CLI Flag Specifying Config File #59

Closed p0da closed 1 year ago

p0da commented 1 year ago

Would you consider adding a flag that disables the config file searching behavior described here and just reads the specified file?

And thanks for writing this, its certainly an improvement over the existing utilities in the space.

alex-courtis commented 1 year ago

That sounds fine. I can imagine some use cases.

PRs are gratefully accepted.

alex-courtis commented 1 year ago

Added option:

  -c, --c[onfig]        <path>

I would be most grateful if you could test this prior to release:

git clone git@github.com:alex-courtis/way-displays.git
cd way-displays
make
./way-displays --help
./way-displays --config /path/to/my/config.yaml
p0da commented 1 year ago

Works perfectly, thanks for taking the time.

As a side note, it seems like VRR is now added and always on for river? Would it be possible to add some per monitor toggle for it? I can open a new issue if that works better.

alex-courtis commented 1 year ago

Thanks for testing.

As a side note, it seems like VRR is now added and always on for river? Would it be possible to add some per monitor toggle for it? I can open a new issue if that works better.

Please do. I applied YAGNI when adding VRR, however now we do need it.