Added files

This commit is contained in:
Fabio Manganiello 2022-01-27 00:59:07 +01:00
parent ea31d3810f
commit d92d98a4b8
6 changed files with 162 additions and 1 deletions

14
bin/screen-rotate-left Executable file
View file

@ -0,0 +1,14 @@
#!/bin/bash
script_dir="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
source "$script_dir/cutiepi-screen-common"
cur_rotation=$(screen_rotation)
case "$cur_rotation" in
left) screen_set_vertical_inverted;;
right) screen_set_vertical;;
normal) screen_set_horizontal;;
inverted) screen_set_horizontal_inverted;;
esac