At times like this I wish I was a Garbage Man.
This commit is contained in:
13
grpoppro
13
grpoppro
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user