From 4c5a1159e4461d731ea8baa03ef06d2390078f84 Mon Sep 17 00:00:00 2001 From: shockrah Date: Thu, 23 Jan 2020 23:31:59 -0800 Subject: [PATCH] tfw scrot updated recently to not overwrite things --- snip | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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