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