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

@@ -90,7 +90,11 @@ Fingers crossed that all compiled and stuff... then copy the bin
cp build/rofi ~/bin
```
## TODO & Features That Could be Good
## FIXME, TODO & Features That Could be Good
* Remove the non-card cards. Examples I've come across are:
** Planes: Black Lotus Lounge
** Art Cards: https://scryfall.com/card/altr/15/%C3%A9owyn-fearless-knight-%C3%A9owyn-fearless-knight?utm_source=api
* Allow exiting the script early (i.e. I hit CTRL+g just exits everything)
* Misspelled cards, if only 1 hit that makes sense, could just work
* Display the actual card image (probably won't do this)
* Some kind of auto-magic direct link between the return codes set out in `main.r`s and the `rofi` scripts. Currently I need to manually make sure they're the same between the `rust` code and the `sh` code.