diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2024-01-20 12:31:58 -0500 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2024-01-20 12:31:58 -0500 |
| commit | e2a0cf2a79b43f9f86b74270f3d96fe300687804 (patch) | |
| tree | a87edf55f81e78f4d0968d6f006562090260e068 /bin/rot | |
| parent | ec83443853116b07f18fbef8c6de31cf157939a0 (diff) | |
| download | dotfiles-e2a0cf2a79b43f9f86b74270f3d96fe300687804.tar.gz dotfiles-e2a0cf2a79b43f9f86b74270f3d96fe300687804.tar.xz | |
Cleanup unused files and code.
Diffstat (limited to 'bin/rot')
| -rwxr-xr-x | bin/rot | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/bin/rot b/bin/rot deleted file mode 100755 index 121471d..0000000 --- a/bin/rot +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/sh -set -x - -IFS=" -" - -devices="$(xinput list --name-only | grep Wacom)" - -setTransform() { - for d in $devices ; do - xinput set-prop "$d" --type=float \ - "Coordinate Transformation Matrix" \ - "$@" - done -} - -while [ $# -gt 0 ] ; do case $1 in - left) - setTransform \ - 0 -1 1 1 0 0 0 0 1 - xrandr -o left - shift - ;; - right) - setTransform \ - 0 1 0 -1 0 1 0 0 1 - xrandr -o right - shift - ;; - normal) - setTransform \ - 0 0 0 0 0 0 0 0 0 - xrandr -o normal - shift - ;; - inverted) - setTransform \ - -1 0 1 0 -1 1 0 0 1 - xrandr -o inverted - shift - ;; - *) - echo Unknown option "$1"; - shift - exit 1 - ;; -esac ; done - |
