scripts/x61t/rotatebutton
2024-02-05 22:48:49 +01:00

24 lines
405 B
Bash

#!/bin/bash
#*************************#
# rotatebutton #
# #
# author: rick@gnous.eu #
# licence: GPL3 #
#*************************#
mode=$(cat $HOME/.bin/rotationmode)
case $mode
0)
rotateFunction right
;;
1)
rotateFunction inverted
;;
4)
rotateFunction left
;;
*)
rotateFunction
;;
esac