diff --git a/snip b/snip index 4682780..a7a7d06 100755 --- a/snip +++ b/snip @@ -1,2 +1,6 @@ #!/bin/sh -scrot -sz $HOME/tmp.png +if [ -z "$1" ]; then + scrot -sz $HOME/tmp.png +else + scrot -sz $HOME/$1 +fi