diff --git a/glue/src/screenshot b/glue/src/screenshot index dbcbdde..5519824 100755 --- a/glue/src/screenshot +++ b/glue/src/screenshot @@ -47,9 +47,9 @@ fi [ "$#" -gt 0 ] && usage case "$mode" in -"selection") scrot --select --line style=dash --freeze --file "$output";; -"window" ) scrot --focused --border --file "$output";; -"screen" ) scrot --file "$output";; +"selection") scrot --select --line style=dash --freeze --file "$outputFilePath";; +"window" ) scrot --focused --border --file "$outputFilePath";; +"screen" ) scrot --file "$outputFilePath";; esac if [ -n "$copyToClipboard" ]; then