Enable fractional scaling

This commit is contained in:
Ivan Molodetskikh
2024-05-29 14:29:37 +03:00
parent 032589446a
commit 997119c443
5 changed files with 29 additions and 18 deletions
+2 -2
View File
@@ -68,10 +68,10 @@ output "eDP-1" {
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.
<sup>Since: 0.1.7</sup> You can use fractional scale values, for example `scale 1.5` for 150% scale.
```
output "eDP-1" {
scale 2.0