optional parameter works in dmenu+shell

This commit is contained in:
shockrah 2019-09-26 15:12:10 -07:00
parent b6b45eace3
commit 100315b057

6
snip
View File

@ -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