diff --git a/system_files/deck/shared/usr/share/ublue-os/firstboot/yafti.yml b/system_files/deck/shared/usr/share/ublue-os/firstboot/yafti.yml index f71e3daf5c..21328ae27e 100644 --- a/system_files/deck/shared/usr/share/ublue-os/firstboot/yafti.yml +++ b/system_files/deck/shared/usr/share/ublue-os/firstboot/yafti.yml @@ -51,9 +51,9 @@ screens: package_manager: yafti.plugin.flatpak groups: Add input group to current user: - description: Adds the input group to your current user. Required by certain controller drivers. - default: true - packages: + description: Adds the input group to your current user. Required by certain controller drivers. + default: true + packages: - Set input group: sudo -A ujust add-user-to-input-group BIOS & Firmware Updates: description: Enables BIOS & Firmware updates for Steam Deck hardware @@ -61,10 +61,10 @@ screens: packages: - Enable Updates: sudo -A ujust enable-deck-bios-firmware-updates Visible Password Aestriks: - description: Toggles pwfeedback on. - default: true - packages: - - Toggle password feedback: sudo -A ujust toggle-password-feedback enable + description: Toggles pwfeedback on. + default: true + packages: + - Toggle password feedback: sudo -A ujust toggle-password-feedback enable Hide GRUB Menu: description: Hide the GRUB menu on boot default: false diff --git a/system_files/desktop/shared/usr/bin/bazzite-steam b/system_files/desktop/shared/usr/bin/bazzite-steam index a45ed393fb..135405e47e 100755 --- a/system_files/desktop/shared/usr/bin/bazzite-steam +++ b/system_files/desktop/shared/usr/bin/bazzite-steam @@ -2,6 +2,7 @@ IMAGE_INFO="/usr/share/ublue-os/image-info.json" IMAGE_NAME=$(jq -r '."image-name"' < $IMAGE_INFO) +SYS_ID="$(cat /sys/devices/virtual/dmi/id/product_name)" DECK_OPTION="" @@ -14,18 +15,27 @@ if [[ $IMAGE_NAME =~ "deck" || $IMAGE_NAME =~ "ally" ]]; then fi fi + # Check for Galileo model + if [[ ":Galileo:" =~ ":$SYS_ID:" ]]; then + VIDEO_STARTUP="/usr/share/ublue-os/bazzite/bazzite-oled.webm" + VIDEO_SUSPEND="/usr/share/ublue-os/bazzite/bazzite-suspend-oled.webm" + else + VIDEO_STARTUP="/usr/share/ublue-os/bazzite/bazzite.webm" + VIDEO_SUSPEND="/usr/share/ublue-os/bazzite/bazzite-suspend.webm" + fi + # Install Bazzite's Steam Game Mode Startup & Suspend Videos mkdir -p $HOME/.local/share/Steam/config/uioverrides/movies if [ ! -f $HOME/.local/share/Steam/config/uioverrides/movies/deck_startup.webm ]; then - cp /usr/share/ublue-os/bazzite/bazzite.webm $HOME/.local/share/Steam/config/uioverrides/movies/deck_startup.webm + cp $VIDEO_STARTUP $HOME/.local/share/Steam/config/uioverrides/movies/deck_startup.webm fi if [ ! -f $HOME/.local/share/Steam/config/uioverrides/movies/deck-suspend-animation.webm ]; then - cp /usr/share/ublue-os/bazzite/bazzite-suspend.webm $HOME/.local/share/Steam/config/uioverrides/movies/deck-suspend-animation.webm + cp $VIDEO_SUSPEND $HOME/.local/share/Steam/config/uioverrides/movies/deck-suspend-animation.webm fi if [ ! -f $HOME/.local/share/Steam/config/uioverrides/movies/deck-suspend-animation-from-throbber.webm ]; then - cp /usr/share/ublue-os/bazzite/bazzite-suspend.webm $HOME/.local/share/Steam/config/uioverrides/movies/deck-suspend-animation-from-throbber.webm + cp $VIDEO_SUSPEND $HOME/.local/share/Steam/config/uioverrides/movies/deck-suspend-animation-from-throbber.webm fi # Required to maintain the Steam update branch between desktop & Steam Game Mode diff --git a/system_files/desktop/shared/usr/bin/protontricks-launch b/system_files/desktop/shared/usr/bin/protontricks-launch old mode 100644 new mode 100755 diff --git a/system_files/desktop/shared/usr/share/ublue-os/bazzite/bazzite-oled.webm b/system_files/desktop/shared/usr/share/ublue-os/bazzite/bazzite-oled.webm new file mode 100644 index 0000000000..819a77a5ec Binary files /dev/null and b/system_files/desktop/shared/usr/share/ublue-os/bazzite/bazzite-oled.webm differ diff --git a/system_files/desktop/shared/usr/share/ublue-os/bazzite/bazzite-suspend-oled.webm b/system_files/desktop/shared/usr/share/ublue-os/bazzite/bazzite-suspend-oled.webm new file mode 100644 index 0000000000..61aa9c1c03 Binary files /dev/null and b/system_files/desktop/shared/usr/share/ublue-os/bazzite/bazzite-suspend-oled.webm differ