Add option to rotate outputs

This commit is contained in:
axtloss
2024-01-28 14:25:40 +01:00
committed by Ivan Molodetskikh
parent 11bff3a2f1
commit 962e159db6
5 changed files with 132 additions and 38 deletions
+4
View File
@@ -65,6 +65,10 @@ input {
// Scale is a floating-point number, but at the moment only integer values work.
scale 2.0
// 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