Files
mini_projects/scryfall_deser/scripts/update_with_rofi.sh
Arthur Roberts af1ac9b5fa Updated update and added an update script
The --update flag accepts the file no rather than goes to download.

Simpler. Better.

Don't need the entire download.rs file now
2025-08-21 00:18:26 +01:00

10 lines
279 B
Bash
Executable File

#!/bin/sh
SCRYFALL_BULK=$(rofi -modi filebrowser -show filebrowser -filebrowser-command printf)
echo "$SCRYFALL_BULK"
/home/arthurr/code/mini_projects/scryfall_deser/target/debug/scryfall_deser --update "$SCRYFALL_BULK"
# TODO - check return value
rofi -e "Should be updated"