summary refs log tree commit diff
path: root/bin/obsctl
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2020-02-28 20:02:38 +0100
committerRobert Günzler <r@gnzler.io>2020-02-28 20:02:38 +0100
commitc767fe27018aa743dd695058dab464b77c37abdf (patch)
treeba1156ab2a73cb1a9cfc08c7c79d802aed1bf9b0 /bin/obsctl
parentcfe1931338b5ce52a27d7488b4d9d095cb9f483b (diff)
bin/swx: Add option to rotate a container using cage
The problem:
I want to read PDFs and webpages on my laptop holding it upright.
Using `swaymsg output $laptop transform 90 clockwise` works BUT the
trackpad will now be unusable since it maps movements according to the
new screen orientation.

The solution:
Spawn the window inside cage [1] which allows us to rotate just that
container which will keep the input usable.

[1]: https://github.com/Hjdskes/cage
Diffstat (limited to 'bin/obsctl')
0 files changed, 0 insertions, 0 deletions