added cli functionality to snip for named output

This commit is contained in:
shockrahwow committed 2019-09-25 18:17:45 -07:00
1 parent b6b45eace3
commit 75a40816e5
3 files changed
+7 -9

No files matched your search

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