scripts/rotatebutton

25 lines
405 B
Text
Raw Normal View History

2024-02-05 22:46:30 +01:00
#!/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