Fixed when you a disambiguated name in first

Still should probably clean up the return values.

Also should look into how to exit early from the script
This commit is contained in:
2025-08-21 03:07:38 +01:00
parent 43a75c0b92
commit 6b5034c544
4 changed files with 28 additions and 5 deletions

View File

@@ -7,6 +7,16 @@ CARDS=$(/home/arthurr/code/mini_projects/scryfall_deser/target/debug/scryfall_de
RETURN=$?
echo $RETURN
#######################
## Exact card found - just print the card
#######################
if [ $RETURN -eq 200 ]; then
rofi -e "$CARDS"
fi
#######################
## Cards to select from
#######################