#!/bin/bash

set -e

if [ "$(id -u)" = 0 ]; then
    echo "This script must not be run as root" >&2
    exit 1
fi

: "${XDG_DATA_HOME:=$HOME/.local/share}"
: "${XDG_CONFIG_HOME:=$HOME/.config}"

rm -f "$XDG_DATA_HOME/vulkan/implicit_layer.d/breezy_vkBasalt.json"
rm -rf "$XDG_CONFIG_HOME/vkBasalt" "$XDG_CONFIG_HOME/reshade"

echo "Removed the Breezy Vulkan per-user files."
