X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/1390d0285583db13842b2fc8d96c3b8b4af02dfd..01cbfa2065a1a7a4ca66c56d0a92a7579395dfe6:/bin/rotate?ds=sidebyside diff --git a/bin/rotate b/bin/rotate index 2e6e4aa..16e9eaf 100755 --- a/bin/rotate +++ b/bin/rotate @@ -69,11 +69,11 @@ num_to_rot $((($rot0 + 4) % 4)) xrandr --output $output --rotation $rot1 # x220t -if [ -x /usr/local/bin/xsetwacom ]; then +if command -v xsetwacom >/dev/null 2>&1; then xsetwacom --set stylus Rotate $rot2 xsetwacom --set eraser Rotate $rot2 xsetwacom --set touch Rotate $rot2 fi # reload bg -~/.fehbg +~/bin/wall