X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/b3de839550de80c432921825a2c07a2791df1a1f..a5daf7a91306aff631a7df22a6f856c82cef2131:/bin/rotate diff --git a/bin/rotate b/bin/rotate index a902580..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 which xsetwacom >/dev/null 2>&1; 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