Implement ideal scale factor guessing

This commit is contained in:
Ivan Molodetskikh
2024-04-24 10:04:19 +04:00
parent f9b008163c
commit dc1d2b706c
6 changed files with 163 additions and 2 deletions
+2
View File
@@ -68,6 +68,8 @@ Set the scale of the monitor.
This is a floating-point number to enable fractional scaling in the future, but at the moment only integer scale values will work.
<sup>Since: 0.1.6</sup> If scale is unset, niri will guess an appropriate scale based on the physical dimensions and the resolution of the monitor.
```
output "eDP-1" {
scale 2.0