X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/f4a5f0037d058d20a339f1a00f8ac8200cd27a19..dd4c892b92f1dd0d11e35b5e0861ea5901de16f3:/bin/rotate diff --git a/bin/rotate b/bin/rotate index 83b7147..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 which xsetwacom >/dev/null; then +if which xsetwacom >/dev/null 2>&1; then xsetwacom --set stylus Rotate $rot2 xsetwacom --set eraser Rotate $rot2 xsetwacom --set touch Rotate $rot2