Skip to content

Commit

Permalink
fix(gpd): Correct screen rotation on the GPD Win Mini
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Jan 31, 2024
1 parent fb79c79 commit 2c5e4d7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion system_files/desktop/shared/usr/bin/bazzite-hardware-setup
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ IMAGE_FLAVOR=$(jq -r '."image-flavor"' < $IMAGE_INFO)
FEDORA_VERSION=$(jq -r '."fedora-version"' < $IMAGE_INFO)

# SCRIPT VERSION
HWS_VER=27
HWS_VER=28
HWS_VER_FILE="/etc/bazzite/hws_version"
HWS_VER_RAN=$(cat $HWS_VER_FILE)

Expand Down Expand Up @@ -137,6 +137,11 @@ if [[ ":83E1:" =~ ":$SYS_ID:" ]]; then
echo "Adding panel orientation for Lenovo Legion Go"
NEEDED_KARGS+=("--append-if-missing=video=eDP-1:panel_orientation=left_side_up")
fi
elif [[ ":G1617-01:" =~ ":$SYS_ID:" ]]; then
if [[ ! $KARGS =~ "video" ]]; then
echo "Adding panel orientation for GPD Win Mini"
NEEDED_KARGS+=("--append-if-missing=video=eDP-1:panel_orientation=right_side_up")
fi
fi

if /usr/libexec/hardware/simpledeckytdp-supported-hardware; then
Expand Down

0 comments on commit 2c5e4d7

Please sign in to comment.