Skip to content

Commit

Permalink
fix(legion): Set panel orientation via karg to correct Plymouth rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Jan 25, 2024
1 parent b123e28 commit 2fdd501
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions system_files/desktop/shared/usr/bin/bazzite-hardware-setup
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,13 @@ if [[ $IMAGE_NAME =~ "deck" && ":AOKZOE A1 AR07:" =~ ":$SYS_ID:" ]]; then
fi
fi

if [[ ":83E1:" =~ ":$SYS_ID:" ]]; then
if [[ ! $KARGS =~ "video" ]]; then
echo "Adding panel orientation for Lenovo Legion Go"
NEEDED_KARGS+=("--append-if-missing=video=eDP-1:panel_orientation=left_side_up")
fi
fi

if [[ $KARGS =~ "nomodeset" ]]; then
echo "Removing nomodeset"
NEEDED_KARGS+=("--delete-if-present=nomodeset")
Expand Down

0 comments on commit 2fdd501

Please sign in to comment.