|
@@ -7,6 +7,8 @@ if [ "$1" == "--hide" ]; then # If first argument is --hide execute
|
|
shift
|
|
shift
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
+# add geometry logic here ( alignment of preview )
|
|
|
|
+
|
|
if [ "$1" == "--show" ]; then # If first argument is --show execute
|
|
if [ "$1" == "--show" ]; then # If first argument is --show execute
|
|
file="${screenshot_dir}${2}.jpeg" # $2 is the tag which will be previewed
|
|
file="${screenshot_dir}${2}.jpeg" # $2 is the tag which will be previewed
|
|
[ -f $file ] || exit 1 # Exit if file doesnt exist
|
|
[ -f $file ] || exit 1 # Exit if file doesnt exist
|