-
Notifications
You must be signed in to change notification settings - Fork 32
Update README.md #128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update README.md #128
Conversation
Added Niri configuration example
Improved exit handling of the Niri config
rharish101
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried it and it works well. Thanks for the PR.
README.md
Outdated
| output "DP-1" { | ||
| // Scale is a floating-point number, but at the moment only integer values work. | ||
| scale 1 | ||
| // Transform allows to rotate the output counter-clockwise, valid values are: | ||
| // normal, 90, 180, 270, flipped, flipped-90, flipped-180 and flipped-270. | ||
| transform "normal" | ||
| // Resolution and, optionally, refresh rate of the output. | ||
| // The format is "<width>x<height>" or "<width>x<height>@<refresh rate>". | ||
| // If the refresh rate is omitted, niri will pick the highest refresh rate | ||
| // for the resolution. | ||
| // If the mode is omitted altogether or is invalid, niri will pick one automatically. | ||
| // Run `niri msg outputs` while inside a niri instance to list all outputs and their modes. | ||
| mode "[email protected]" | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this part required for Niri in multi-monitor setups? I tried Niri without this section on a single monitor setup, and it worked fine. I'd like to keep the example config as simple as possible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not necessary but you will have to keep in mind that it will always gonna pick the highest resolution at 60 hz for all monitors, that's why I included it, but as long as the user understands Niri config they will figure it out, so it's fine for me to remove that part
Remove unnecessary part
|
Thanks a lot for your PR! |
Added Niri configuration example