#!/bin/bash

# omarchy:summary=Remove Battle.net along with Lutris, Wine, umu-launcher, and all their configs and caches.
# omarchy:requires-sudo=true

set -e

omarchy-pkg-drop lutris wine-staging wine-mono wine-gecko winetricks python-protobuf umu-launcher

rm -rf \
  "$HOME/Games/battlenet" \
  "$HOME/Games/battle-net" \
  "$HOME/.config/lutris" \
  "$HOME/.local/share/lutris" \
  "$HOME/.cache/lutris" \
  "$HOME/.local/share/umu" \
  "$HOME/.cache/umu" \
  "$HOME/.wine" \
  "$HOME/.cache/wine" \
  "$HOME/.cache/winetricks"

echo ""
echo "Battle.net, Lutris, Wine, umu-launcher, and their configs have been removed."
