summaryrefslogtreecommitdiff
path: root/sway/sway-output.5.scd
diff options
context:
space:
mode:
authoremersion <[email protected]>2018-11-06 14:17:33 +0100
committerGitHub <[email protected]>2018-11-06 14:17:33 +0100
commit001ec1f3fdd700c23fb6dc91018697130af225ff (patch)
tree6144d7050fa2ac7383ffbe614cd76697f36929c8 /sway/sway-output.5.scd
parent994c35e37527e754c6389db3e1c892d2937f2f7f (diff)
parent5032acb7a574ce3e8dbfdfb1304d871e64ae68d6 (diff)
Merge pull request #3046 from tokyovigilante/relative-transform
Add relative output transform
Diffstat (limited to 'sway/sway-output.5.scd')
-rw-r--r--sway/sway-output.5.scd7
1 files changed, 5 insertions, 2 deletions
diff --git a/sway/sway-output.5.scd b/sway/sway-output.5.scd
index 1b456008..37b7108b 100644
--- a/sway/sway-output.5.scd
+++ b/sway/sway-output.5.scd
@@ -59,10 +59,13 @@ must be separated by one space. For example:
Sets the background of the given output to the specified color. _color_
should be specified as _#RRGGBB_. Alpha is not supported.
-*output* <name> transform <transform>
+*output* <name> transform <transform> [clockwise|anticlockwise]
Sets the background transform to the given value. Can be one of "90", "180",
"270" for rotation; or "flipped", "flipped-90", "flipped-180", "flipped-270"
- to apply a rotation and flip, or "normal" to apply no transform.
+ to apply a rotation and flip, or "normal" to apply no transform. If a single
+ output is chosen and a rotation direction is specified
+ (_clockwise_ or _anticlockwise_) then the transform is added or
+ subtracted from the current tranform.
*output* <name> disable|enable
Enables or disables the specified output (all outputs are enabled by