mirror of
https://github.com/kageurufu/steamdeck_startup_animations.git
synced 2024-11-16 23:59:20 +01:00
20 lines
721 B
Bash
20 lines
721 B
Bash
#!/usr/bin/env bash
|
|
|
|
if [[ -e "$HOME/.config/systemd/user/randomize_deck_startup.service" ]]; then
|
|
echo "Removing the boot service"
|
|
systemctl --user disable randomize_deck_startup.service
|
|
rm "$HOME/.config/systemd/user/randomize_deck_startup.service"
|
|
fi
|
|
|
|
if [[ -f "$HOME/.steam/steam/steamui/movies/deck_startup.webm.backup" ]]; then
|
|
echo "Restoring deck_startup.webm.backup"
|
|
rm "$HOME/.steam/steam/steamui/movies/deck_startup.webm"
|
|
mv "$HOME/.steam/steam/steamui/movies/deck_startup.webm.backup" "$HOME/.steam/steam/steamui/movies/deck_startup.webm"
|
|
fi
|
|
|
|
if [[ -e "$HOME/homebrew/startup_animations" ]]; then
|
|
echo "Deleting the startup_animations directory"
|
|
rm -rf "$HOME/homebrew/startup_animations"
|
|
fi
|
|
|