steamdeck_startup_animations/uninstall.sh
2022-08-01 10:07:59 -07:00

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