tfw scrot updated recently to not overwrite things

This commit is contained in:
shockrah 2020-01-23 23:31:59 -08:00
parent 3693ecb86a
commit 4c5a1159e4

3
snip
View File

@ -1,6 +1,7 @@
#!/bin/sh #!/bin/sh
if [ -z "$1" ]; then if [ -z "$1" ]; then
rm -f $HOME/tmp.png
scrot -sz $HOME/tmp.png scrot -sz $HOME/tmp.png
else else
scrot -sz $HOME/$1 scrot -sz "$HOME/$1"
fi fi