diff --git a/system_files/desktop/shared/usr/libexec/bazzite-hardware-setup b/system_files/desktop/shared/usr/libexec/bazzite-hardware-setup index b7e99d65..577cfde0 100755 --- a/system_files/desktop/shared/usr/libexec/bazzite-hardware-setup +++ b/system_files/desktop/shared/usr/libexec/bazzite-hardware-setup @@ -130,13 +130,14 @@ if [[ $IMAGE_NAME =~ "deck" && ":AOKZOE A1 AR07:" =~ ":$SYS_ID:" ]]; then if [[ ! $KARGS =~ "drm.edid_firmware" ]]; then NEEDED_KARGS+=("--append-if-missing=drm.edid_firmware=eDP-1:edid/aokzoea1ar07_edid.bin") fi - - if [[ ":Galileo:" =~ ":$SYS_ID:" ]]; then - NEEDED_KARGS+=("--append-if-missing=video=eDP-1:panel_orientation=right_side_up") - fi fi -if [[ ":83E1:" =~ ":$SYS_ID:" ]]; then +if [[ ":Galileo:" =~ ":$SYS_ID:" ]]; then + if [[ ! $KARGS =~ "video" ]]; then + echo "Adding panel orientation for Steam Deck OLED" + NEEDED_KARGS+=("--append-if-missing=video=eDP-1:panel_orientation=right_side_up") + fi +elif [[ ":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")