steamdeck_startup_animations/uninstall.sh

20 lines
730 B
Bash
Raw Normal View History

2022-08-01 19:07:59 +02:00
#!/usr/bin/env bash
if [[ -e "$HOME/.config/systemd/user/randomize_deck_startup.service" ]]; then
echo ":: Removing the boot service"
2022-08-01 19:07:59 +02:00
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"
2022-08-01 19:07:59 +02:00
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"
2022-08-01 19:07:59 +02:00
rm -rf "$HOME/homebrew/startup_animations"
fi