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:
@@ -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
|
||||
#######################
|
||||
|
||||
Reference in New Issue
Block a user