Created
January 3, 2022 18:27
-
-
Save mausch/7c23233c21f4df3d9bccb72d7d15ff95 to your computer and use it in GitHub Desktop.
Pianoteq + rotate screen + music sheets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env nix-shell | |
#! nix-shell -p xorg.xrandr -p chromium -p pianoteq.stage-6 -i bash | |
input="Elan Touchpad" | |
function restore { | |
xrandr -o normal | |
xinput set-prop "$input" --type=float "Coordinate Transformation Matrix" 1 0 0 0 1 0 0 0 1 | |
kill $! | |
} | |
trap restore EXIT | |
xrandr -o right | |
xinput set-prop "$input" --type=float "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1 | |
cpupower frequency-set -g performance | |
chromium --new-window file:///home/mauricio/partituras/ | |
Pianoteq\ 6\ STAGE & | |
read -n1 -s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment