Update bazzite-steam (#2099)

This commit is contained in:
Sean 2025-01-10 15:29:03 -05:00 committed by GitHub
parent 697f3cb41c
commit abeed9ace5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,6 +19,7 @@ if [[ $IMAGE_NAME =~ "deck" || $IMAGE_NAME =~ "ally" ]]; then
DECK_SUSPEND="/usr/share/ublue-os/bazzite/bazzite-suspend.webm"
OLED_STARTUP="/usr/share/ublue-os/bazzite/bazzite-oled.webm"
OLED_SUSPEND="/usr/share/ublue-os/bazzite/bazzite-suspend-oled.webm"
SKIP_VIDEOS=false
# Check for Galileo model
if [[ ":Galileo:" =~ ":$SYS_ID:" ]]; then
@ -32,7 +33,17 @@ if [[ $IMAGE_NAME =~ "deck" || $IMAGE_NAME =~ "ally" ]]; then
# 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/bazzite_novideo ]; then
# Check for the no video flag
if [ -f $HOME/.local/share/Steam/config/uioverrides/movies/bazzite_novideo ]; then
SKIP_VIDEOS=true
fi
# Check for the Animation Changer plugin, if it exists then they probably don't want us.
if [ -f $HOME/homebrew/plugins/SDH-AnimationChanger/main.py ]; then
SKIP_VIDEOS=true
fi
if ! $SKIP_VIDEOS; then
LOCATION_STARTUP=$HOME/.local/share/Steam/config/uioverrides/movies/deck_startup.webm
LOCATION_SUSPEND=$HOME/.local/share/Steam/config/uioverrides/movies/steam_os_suspend.webm