diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-06-18 11:01:18 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-06-18 14:01:34 +0300 |
| commit | 986f2c14abad1b7a0663439bddee4e73d59dbd1a (patch) | |
| tree | 32e9e265f28b22a1be831d961d22327b22549ff8 /wiki/Configuration:-Outputs.md | |
| parent | 793e1bdbc5fdbf99e264558375bd27cffabc4ec8 (diff) | |
| download | niri-986f2c14abad1b7a0663439bddee4e73d59dbd1a.tar.gz niri-986f2c14abad1b7a0663439bddee4e73d59dbd1a.tar.bz2 niri-986f2c14abad1b7a0663439bddee4e73d59dbd1a.zip | |
Make scale use FloatOrInt
Diffstat (limited to 'wiki/Configuration:-Outputs.md')
| -rw-r--r-- | wiki/Configuration:-Outputs.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wiki/Configuration:-Outputs.md b/wiki/Configuration:-Outputs.md index 8a63a6bd..6ecf91ab 100644 --- a/wiki/Configuration:-Outputs.md +++ b/wiki/Configuration:-Outputs.md @@ -72,6 +72,10 @@ Set the scale of the monitor. <sup>Since: 0.1.7</sup> You can use fractional scale values, for example `scale 1.5` for 150% scale. +<sup>Since: 0.1.7</sup> Dot is no longer needed for integer scale, for example you can write `scale 2` instead of `scale 2.0`. + +<sup>Since: 0.1.7</sup> Scale below 0 and above 10 will now fail during config parsing. Scale was previously clamped to these values anyway. + ``` output "eDP-1" { scale 2.0 |
