diff options
author | Ryan Walklin <ryan@testtoast.com> | 2018-10-31 21:06:49 +0000 |
---|---|---|
committer | Ryan Walklin <ryan@testtoast.com> | 2018-11-05 22:58:27 +0000 |
commit | 5032acb7a574ce3e8dbfdfb1304d871e64ae68d6 (patch) | |
tree | 6144d7050fa2ac7383ffbe614cd76697f36929c8 /include/swaybar/render.h | |
parent | 994c35e37527e754c6389db3e1c892d2937f2f7f (diff) |
Add relative output transform
This commit enhances the output transform
command with options for a relative transform,
i.e. the provided transform will be applied as
an offset to the current transform. Append
`clockwise` to rotate clockwise from the current
rotation, or `anticlockwise` to rotate in the
opposite direction.
For example, if the output LVDS-1 is rotated
90 degrees clockwise, the command
`output LVDS-1 transform 90 clockwise`
will rotate the display to 180 degrees.
All transform options are supported,
including flipped transforms.
Relative transforms can only be applied to
a single output and cannot be used with
a wildcard (*) output specifier.
Diffstat (limited to 'include/swaybar/render.h')
0 files changed, 0 insertions, 0 deletions