From 0adb3e4fdce8d75c1d5d7844971d6778bb8fd9f9 Mon Sep 17 00:00:00 2001 From: Robbert Gurdeep Singh Date: Tue, 31 Mar 2020 15:24:59 +0200 Subject: [PATCH] Add -p flag for portrait --- reStream.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/reStream.sh b/reStream.sh index a317320..e20237e 100755 --- a/reStream.sh +++ b/reStream.sh @@ -2,7 +2,11 @@ # these are probably the only two parameters you need to change ssh_host="root@10.11.99.1" # location of the remarkable -landscape=true # set to false if you want it horizontal +landscape=true # default vertical +if [ "$1" = "-p" ] # call with -p if you want vertical +then + landscape=false +fi # technical parameters width=1408