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 30, 2025
2 parents 83feb0c + 03d3acd commit 50ca130
Showing 1 changed file with 13 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ configure-override-videos ACTION="":
#!/usr/bin/bash
source /usr/lib/ujust/ujust.sh
OPTION={{ ACTION }}
if [ ! -f $HOME/.local/share/Steam/config/uioverrides/movies/bazzite_novideo ]; then
NO_VIDEO="$HOME/.local/share/Steam/config/uioverrides/movies/bazzite_novideo"
if [ ! -f $NO_VIDEO ]; then
VIDEO_STATE="${b}Enabled${n}"
else
VIDEO_STATE="${b}Disabled${n}"
Expand All @@ -165,15 +166,17 @@ configure-override-videos ACTION="":
echo "Videos are: $VIDEO_STATE"
OPTION=$(Choose "Enable Videos" "Disable Videos")
fi
if [[ "$OPTION" =~ ^enable ]]; then
rm $HOME/.local/share/Steam/config/uioverrides/movies/bazzite_novideo
elif [[ "$OPTION" =~ ^disable ]]; then
touch $HOME/.local/share/Steam/config/uioverrides/movies/bazzite_novideo
rm $HOME/.local/share/Steam/config/uioverrides/movies/deck_startup.webm
rm $HOME/.local/share/Steam/config/uioverrides/movies/deck-suspend-animation.webm
rm $HOME/.local/share/Steam/config/uioverrides/movies/deck-suspend-animation-from-throbber.webm
rm $HOME/.local/share/Steam/config/uioverrides/movies/steam_os_suspend.webm
rm $HOME/.local/share/Steam/config/uioverrides/movies/steam_os_suspend_from_throbber.webm
if [[ "${OPTION,,}" =~ ^enable ]]; then
echo "Removing $NO_VIDEO"
rm -f $NO_VIDEO
elif [[ "${OPTION,,}" =~ ^disable ]]; then
echo "Adding $NO_VIDEO"
touch $NO_VIDEO
rm -f $HOME/.local/share/Steam/config/uioverrides/movies/deck_startup.webm
rm -f $HOME/.local/share/Steam/config/uioverrides/movies/deck-suspend-animation.webm
rm -f $HOME/.local/share/Steam/config/uioverrides/movies/deck-suspend-animation-from-throbber.webm
rm -f $HOME/.local/share/Steam/config/uioverrides/movies/steam_os_suspend.webm
rm -f $HOME/.local/share/Steam/config/uioverrides/movies/steam_os_suspend_from_throbber.webm
fi

# Restores the stock virtual keyboard under KDE & GNOME
Expand Down

0 comments on commit 50ca130

Please sign in to comment.