From 2fdd5014400062b8addc8fc975d2d2ce32a809e3 Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Wed, 24 Jan 2024 22:38:10 -0800 Subject: [PATCH] fix(legion): Set panel orientation via karg to correct Plymouth rotation --- system_files/desktop/shared/usr/bin/bazzite-hardware-setup | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/system_files/desktop/shared/usr/bin/bazzite-hardware-setup b/system_files/desktop/shared/usr/bin/bazzite-hardware-setup index a6479d90..67ab8bea 100755 --- a/system_files/desktop/shared/usr/bin/bazzite-hardware-setup +++ b/system_files/desktop/shared/usr/bin/bazzite-hardware-setup @@ -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")