explain why copyq exception

This commit is contained in:
BarbUk 2016-12-09 16:27:48 +04:00
parent 0b6ecf9281
commit 61dd4cdbd2

2
snippy
View File

@ -80,7 +80,7 @@ run(){
else else
content="$(bashdown < "${DIR}/${FILE}")" content="$(bashdown < "${DIR}/${FILE}")"
fi fi
# clip launch copyq # clip launch copyq, don't pass the filename in buffer
if [[ ! ${FILE} == "clip" ]] && [[ "${#content}" == 0 ]]; then if [[ ! ${FILE} == "clip" ]] && [[ "${#content}" == 0 ]]; then
printf "%s" "${FILE}" > $TMPFILE printf "%s" "${FILE}" > $TMPFILE
else else