At times like this I wish I was a Garbage Man.

This commit is contained in:
2025-01-05 14:18:34 +02:00
parent 8542fd1607
commit 0cdca31be9

View File

@@ -594,7 +594,18 @@ else
echo "Configuration file not found!"
echo "Creating one at $GRPOPPRO_CONFIG_FILE"
mkdir -p "$GRPOPPRO_CONFIG_DIR"
touch "$GRPOPPRO_CONFIG_FILE"
# touch "$GRPOPPRO_CONFIG_FILE"
DEFAULTS=$(cat <<EOF
GRPOPPRO_INTERACTIVE="on"
GRPOPPRO_DEBUG="on"
apiurl="https://coverapi.store"
menu="fuzzel -d -p "
# menu="fzf -i --prompt="
player="mpv"
EOF
)
echo "$DEFAULTS" > "$GRPOPPRO_CONFIG_FILE"
echo "Try again"
exit 1
fi