]> git.sev.monster Git - dotfiles.git/blobdiff - bin/rotate
user-dirs: fix XDG_PUBLICSHARE_DIR
[dotfiles.git] / bin / rotate
index 2e6e4aa7dcd0ad77f5b03cf61f412161e78610eb..16e9eaf3b3541651a76ca6b9259d27e753623feb 100755 (executable)
@@ -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
This page took 0.043499 seconds and 4 git commands to generate.