Skip to content

Commit

Permalink
Merge branch 'main' into testing
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Jan 6, 2025
2 parents ea2758b + 36818b4 commit a489095
Showing 1 changed file with 10 additions and 40 deletions.
50 changes: 10 additions & 40 deletions system_files/desktop/shared/usr/bin/bazzite-steam
Original file line number Diff line number Diff line change
Expand Up @@ -35,61 +35,31 @@ if [[ $IMAGE_NAME =~ "deck" || $IMAGE_NAME =~ "ally" ]]; then
if [ ! -f $HOME/.local/share/Steam/config/uioverrides/movies/bazzite_novideo ]; then

LOCATION_STARTUP=$HOME/.local/share/Steam/config/uioverrides/movies/deck_startup.webm
LOCATION_STARTUP_DECK=$HOME/.local/share/Steam/steamui/movies/deck_startup.webm
LOCATION_STARTUP_OLED=$HOME/.local/share/Steam/steamui/movies/oled_startup.webm

LOCATION_SUSPEND=$HOME/.local/share/Steam/config/uioverrides/movies/steam_os_suspend.webm
LOCATION_SUSPEND_OLD=$HOME/.local/share/Steam/config/uioverrides/movies/deck-suspend-animation.webm
LOCATION_THROBBER=$HOME/.local/share/Steam/config/uioverrides/movies/steam_os_suspend_from_throbber.webm
LOCATION_THROBBER_OLD=$HOME/.local/share/Steam/config/uioverrides/movies/deck-suspend-animation-from-throbber.webm

if ! cmp --silent $VIDEO_STARTUP $LOCATION_STARTUP; then
cp $VIDEO_STARTUP $LOCATION_STARTUP
fi

if ! cmp --silent $DECK_STARTUP $LOCATION_STARTUP_DECK; then
cp $DECK_STARTUP $LOCATION_STARTUP_DECK
fi

if ! cmp --silent $OLED_STARTUP $LOCATION_STARTUP_OLED; then
cp $OLED_STARTUP $LOCATION_STARTUP_OLED
if ! cmp --silent $VIDEO_SUSPEND $LOCATION_SUSPEND; then
cp $VIDEO_SUSPEND $LOCATION_SUSPEND
fi

LOCATION_SUSPEND_OLD=$HOME/.local/share/Steam/config/uioverrides/movies/deck-suspend-animation.webm
LOCATION_THROBBER_OLD=$HOME/.local/share/Steam/config/uioverrides/movies/deck-suspend-animation-from-throbber.webm
LOCATION_SUSPEND=$HOME/.local/share/Steam/config/uioverrides/movies/steam_os_suspend.webm
LOCATION_THROBBER=$HOME/.local/share/Steam/config/uioverrides/movies/deck-suspend-animation-from-throbber.webm
LOCATION_SUSPEND_DECK=$HOME/.local/share/Steam/steamui/movies/deck-suspend-animation-from-throbber.webm
LOCATION_THROBBER_DECK=$HOME/.local/share/Steam/steamui/movies/deck-suspend-animation.webm
LOCATION_SUSPEND_OLED=$HOME/.local/share/Steam/steamui/movies/oled-suspend-animation-from-throbber.webm
LOCATION_THROBBER_OLED=$HOME/.local/share/Steam/steamui/movies/oled-suspend-animation.webm

if ! cmp --silent $VIDEO_SUSPEND $LOCATION_SUSPEND_OLD; then
cp $VIDEO_SUSPEND $LOCATION_SUSPEND_OLD
fi

if ! cmp --silent $VIDEO_SUSPEND $LOCATION_THROBBER_OLD; then
cp $VIDEO_SUSPEND $LOCATION_THROBBER_OLD
fi

if ! cmp --silent $VIDEO_SUSPEND $LOCATION_SUSPEND; then
cp $VIDEO_SUSPEND $LOCATION_SUSPEND
fi

if ! cmp --silent $VIDEO_SUSPEND $LOCATION_THROBBER; then
cp $VIDEO_SUSPEND $LOCATION_THROBBER
fi

if ! cmp --silent $DECK_SUSPEND $LOCATION_SUSPEND_DECK; then
cp $DECK_SUSPEND $LOCATION_SUSPEND_DECK
fi

if ! cmp --silent $DECK_SUSPEND $LOCATION_THROBBER_DECK; then
cp $DECK_SUSPEND $LOCATION_THROBBER_DECK
fi

if ! cmp --silent $OLED_SUSPEND $LOCATION_SUSPEND_OLED; then
cp $OLED_SUSPEND $LOCATION_SUSPEND_OLED

if ! cmp --silent $VIDEO_SUSPEND $LOCATION_THROBBER_OLD; then
cp $VIDEO_SUSPEND $LOCATION_THROBBER_OLD
fi

if ! cmp --silent $OLED_SUSPEND $LOCATION_THROBBER_OLED; then
cp $OLED_SUSPEND $LOCATION_THROBBER_OLED
fi
fi

# Required to maintain the Steam update branch between desktop & Steam Game Mode
Expand Down

0 comments on commit a489095

Please sign in to comment.