Misspelled script stuff seems to be working
This commit is contained in:
@@ -18,6 +18,27 @@ CARD_OUTPUT=$(/home/arthurr/code/mini_projects/scryfall_deser/target/debug/scryf
|
|||||||
# the rofi -e message
|
# the rofi -e message
|
||||||
sleep 0.05
|
sleep 0.05
|
||||||
|
|
||||||
|
rofi -e "$CARD_OUTPUT"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ $RETURN -eq 105 ]; then
|
||||||
|
|
||||||
|
SELECTION=$(rofi -dmenu -p "Did you mean?" -i << EOF
|
||||||
|
$CARDS
|
||||||
|
EOF
|
||||||
|
)
|
||||||
|
|
||||||
|
CARDS=$(/home/arthurr/code/mini_projects/scryfall_deser/target/debug/scryfall_deser $SELECTION)
|
||||||
|
|
||||||
|
SELECTION=$(rofi -dmenu -i << EOF
|
||||||
|
$CARDS
|
||||||
|
EOF
|
||||||
|
)
|
||||||
|
|
||||||
|
CARD_OUTPUT=$(/home/arthurr/code/mini_projects/scryfall_deser/target/debug/scryfall_deser --exact $SELECTION)
|
||||||
|
|
||||||
|
sleep 0.05
|
||||||
|
|
||||||
rofi -e "$CARD_OUTPUT"
|
rofi -e "$CARD_OUTPUT"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user