Allow setting remarkable with environment variable

This commit is contained in:
Rien Maertens 2022-02-13 13:26:34 +01:00
parent 9deee838c9
commit 3862d9c5c8
No known key found for this signature in database
GPG Key ID: AE66CE42F1AF9DEF
2 changed files with 11 additions and 10 deletions

View File

@ -11,6 +11,7 @@
cargo-watch cargo-watch
cargo-limit cargo-limit
shellcheck shellcheck
shfmt
lz4 lz4
]; ];
CARGO_BUILD_TARGET="armv7-unknown-linux-gnueabihf"; CARGO_BUILD_TARGET="armv7-unknown-linux-gnueabihf";

View File

@ -4,7 +4,7 @@
version="1.2.0" version="1.2.0"
# default values for arguments # default values for arguments
remarkable="10.11.99.1" # remarkable connected through USB remarkable="${REMARKABLE_IP:-10.11.99.1}" # remarkable IP address
landscape=true # rotate 90 degrees to the right landscape=true # rotate 90 degrees to the right
output_path=- # display output through ffplay output_path=- # display output through ffplay
format=- # automatic output format format=- # automatic output format