X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/f29cd56086ae36e7abad561ae32f0f063a1eac31..3fb394c5798cb4e3e63b51f24f5912b7cf8d1623:/bin/rotate?ds=sidebyside diff --git a/bin/rotate b/bin/rotate index 2e6e4aa..a902580 100755 --- a/bin/rotate +++ b/bin/rotate @@ -69,7 +69,7 @@ num_to_rot $((($rot0 + 4) % 4)) xrandr --output $output --rotation $rot1 # x220t -if [ -x /usr/local/bin/xsetwacom ]; then +if which xsetwacom >/dev/null 2>&1; then xsetwacom --set stylus Rotate $rot2 xsetwacom --set eraser Rotate $rot2 xsetwacom --set touch Rotate $rot2