sway/sway/commands/output
Ryan Walklin 5032acb7a5 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.
2018-11-05 22:58:27 +00:00
..
background.c Handle shell special characters in bg file path 2018-09-28 23:12:24 -04:00
disable.c Refactor cmd_output to use config_subcommand 2018-06-03 10:26:06 -04:00
dpms.c Switch to using a function to parse booleans 2018-07-23 21:33:17 -04:00
enable.c Refactor cmd_output to use config_subcommand 2018-06-03 10:26:06 -04:00
mode.c output commands: move !argc checks after argc gets decremented 2018-07-02 08:03:41 +09:00
position.c output commands: move !argc checks after argc gets decremented 2018-07-02 08:03:41 +09:00
scale.c Refactor cmd_output to use config_subcommand 2018-06-03 10:26:06 -04:00
transform.c Add relative output transform 2018-11-05 22:58:27 +00:00