mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-04 02:40:05 +00:00
feat(deck): Add Loki Max to rotation fix script and nested desktop defaults
This commit is contained in:
parent
a30b4837cc
commit
df51d82679
@ -33,7 +33,7 @@ kscreen-doctor --outputs 2>&1 | tee -a /tmp/bazrotfix.log
|
||||
echo $(date '+%Y-%m-%d %H:%M:%S') Fixing desktop orientation... | tee -a /tmp/bazrotfix.log
|
||||
if [[ ! -z "$IS_GAMEMODE" ]]; then
|
||||
kscreen-doctor output.1.rotation.normal 2>&1 | tee -a /tmp/bazrotfix.log
|
||||
elif [[ ":83E1:" =~ ":$SYS_ID" ]]; then
|
||||
elif [[ ":83E1:Loki Max:" =~ ":$SYS_ID:" ]]; then
|
||||
kscreen-doctor output.1.rotation.left 2>&1 | tee -a /tmp/bazrotfix.log
|
||||
else
|
||||
kscreen-doctor output.1.rotation.normal 2>&1 | tee -a /tmp/bazrotfix.log
|
||||
|
@ -8,7 +8,7 @@ case "$(cat /sys/devices/virtual/dmi/id/product_name)" in
|
||||
"Jupiter" | "Galileo" | "AYANEO GEEK" | "G1619-05")
|
||||
STEAMOS_NESTED_DESKTOP_WIDTH=1280
|
||||
STEAMOS_NESTED_DESKTOP_HEIGHT=800 ;;
|
||||
"ROG Ally RC71L_RC71L" | "G1618-04" | "G1617-01")
|
||||
"ROG Ally RC71L_RC71L" | "G1618-04" | "G1617-01" | "Loki Max")
|
||||
STEAMOS_NESTED_DESKTOP_WIDTH=1920
|
||||
STEAMOS_NESTED_DESKTOP_HEIGHT=1080 ;;
|
||||
"AYANEO 2" | "AYANEO 2S" | "AOKZOE A1 AR07" | "G1619-04")
|
||||
|
@ -11,7 +11,7 @@ BAZZITE_CONFIG_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/bazzite"
|
||||
mkdir -p "$BAZZITE_CONFIG_DIR"
|
||||
|
||||
# SCRIPT VERSION
|
||||
USER_SETUP_VER=22
|
||||
USER_SETUP_VER=23
|
||||
USER_SETUP_VER_FILE="$BAZZITE_CONFIG_DIR/version"
|
||||
USER_SETUP_FEDORA_VER_FILE="$BAZZITE_CONFIG_DIR/fedora_version"
|
||||
|
||||
@ -130,7 +130,7 @@ if [[ $IMAGE_NAME =~ "deck" || $IMAGE_NAME =~ "ally" || $IMAGE_NAME =~ "framegam
|
||||
rm -f "$AUTOSTART_FOLDER/autostart/bazzite-handle-legion-go-rotation.desktop"
|
||||
fi
|
||||
|
||||
if [[ ":ROG Ally RC71L_RC71L:83E1:" =~ ":$SYS_ID" ]] && [[ $BASE_IMAGE_NAME =~ "kinoite" ]]; then
|
||||
if [[ ":ROG Ally RC71L_RC71L:83E1:Loki Max:" =~ ":$SYS_ID:" ]] && [[ $BASE_IMAGE_NAME =~ "kinoite" ]]; then
|
||||
if [[ ! -f "$AUTOSTART_FOLDER/autostart/bazzite-rotation-fix.desktop" ]]; then
|
||||
echo 'Adding rotation fix'
|
||||
mkdir -p "$AUTOSTART_FOLDER/autostart"
|
||||
|
Loading…
Reference in New Issue
Block a user