pascalw / kindle-dash

Power efficient dashboard for Kindle 4 NT devices
MIT License
1.21k stars 34 forks source link

Test script to quickly test image url #8

Open julianlam opened 3 years ago

julianlam commented 3 years ago

Execution: /mnt/us/dashboard/test.sh https://example.org/test.png

Executes wait-for-wifi.sh, downloads the image using ht (like dash.sh), and pushes it to the kindle via eips

Useful to quickly update images for testing purposes without starting the daemon.

julianlam commented 3 years ago

Prior to this, every time I wanted to refresh the image, I had to run the commands by hand (ht, then eips), or run start.sh which kills the ssh session.

This just makes it easier to test :smile:

If there was a simpler way, or if this script isn't to your standard, feel free to reject, I don't mind :sweat_smile:

julianlam commented 3 years ago

Done, let me know if I overstepped with the change to fetch-dashboard.sh

pascalw commented 3 years ago

@julianlam are you willing/able to make that change? If not let me know, I could do it too.

julianlam commented 3 years ago

I haven't had the time actually :sweat_smile: please go ahead and make the change if you can, it is more difficult for me to do because I am just making the change blindly and pushing it to the kindle.