aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authoraxtloss <axtlos@getcryst.al>2024-01-28 14:25:40 +0100
committerIvan Molodetskikh <yalterz@gmail.com>2024-01-31 23:02:38 +0400
commit962e159db61dc6c7822aa899b1d9dc86fb6a0de5 (patch)
tree9ebdc148d411230cf33e5b4abcd1880af484d8e7 /resources
parent11bff3a2f1aa069a998cd6710dd06467acb73920 (diff)
downloadniri-962e159db61dc6c7822aa899b1d9dc86fb6a0de5.tar.gz
niri-962e159db61dc6c7822aa899b1d9dc86fb6a0de5.tar.bz2
niri-962e159db61dc6c7822aa899b1d9dc86fb6a0de5.zip
Add option to rotate outputs
Diffstat (limited to 'resources')
-rw-r--r--resources/default-config.kdl4
1 files changed, 4 insertions, 0 deletions
diff --git a/resources/default-config.kdl b/resources/default-config.kdl
index 19d69d4b..4aae7cc4 100644
--- a/resources/default-config.kdl
+++ b/resources/default-config.kdl
@@ -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