Updated README and starting on more complex rofi script

This commit is contained in:
2025-08-21 01:45:50 +01:00
parent 4dde40b72e
commit f1beae9198
2 changed files with 47 additions and 4 deletions

View File

@@ -1,6 +1,10 @@
#!/bin/sh
CARDS=$(/home/arthurr/code/mini_projects/scryfall_deser/target/debug/scryfall_deser $@)
RETURN=$?
echo $RETURN
if [ $RETURN -eq 0 ]; then
SELECTION=$(rofi -dmenu -i << EOF
$CARDS
@@ -15,3 +19,5 @@ CARD_OUTPUT=$(/home/arthurr/code/mini_projects/scryfall_deser/target/debug/scryf
sleep 0.05
rofi -e "$CARD_OUTPUT"
fi