Add -p flag for portrait

This commit is contained in:
Robbert Gurdeep Singh 2020-03-31 15:24:59 +02:00 committed by beardhatcode
parent e5edbed205
commit 0adb3e4fdc

View File

@ -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