cgm999, your fixed version is awesome and makes this pretty usable: thank you!
Question about the custom command: where is the bug icon? I can't figure out what to press.
Quote:
Originally Posted by cgm999
Also added option to run custom commands (bug icon).
|
Quote:
file koreader-debug_cmd.sh can be edited with whatever commands are needed to
run based on first arg (which is triggered from bottom page menu/BUG icon)
|
I'm trying to get it to run a script that toggles crengine.display.inverse between 0 and 1 to get a nightmode toggle working. I tried that manually, and it works but does require exiting the book and entering it again, which is a reasonable compromise for me.
The script, for what it's worth is:
Code:
#!/bin/sh
sed -e'/crengine.display.inverse/ y/01/10/' -i /mnt/onboard/.kobo/koreader/data/cr3.ini
echo "toggled inverse flag"
Cheers!