.dotfiles/.config/newsboat/scripts/bootstrap_image_pager.sh

13 lines
273 B
Bash
Raw Normal View History

2024-09-21 19:14:02 -04:00
#!/bin/bash
# Set the classpath to the directory containing the script
classpath="$(dirname "$0")"
# Run the Scala program and capture its output
result=$(scala -classpath "$classpath" imagePager "$@")
# Print the result
#echo "Received result: $result"
eval "$result"