fix: Correct gamemode check in rotation fix

chore: Move to kinoite folder
This commit is contained in:
Kyle Gospodnetich 2024-01-19 13:12:49 -08:00
parent daa1299fc8
commit 6eb6f27127

View File

@ -25,7 +25,7 @@ kscreen-doctor --outputs 2>&1 | tee -a /tmp/bazrotfix.log
# Fix desktop orientation
# Rotation options: right, normal, left, inverted
echo $(date '+%Y-%m-%d %H:%M:%S') Fixing desktop orientation... | tee -a /tmp/bazrotfix.log
if [[ -z "$IS_GAMEMODE" ]]; then
if [[ ! -z "$IS_GAMEMODE" ]]; then
kscreen-doctor output.1.rotation.normal 2>&1 | tee -a /tmp/bazrotfix.log
elif [[ ":83E1:" =~ ":$SYS_ID" ]]; then
kscreen-doctor output.1.rotation.left 2>&1 | tee -a /tmp/bazrotfix.log