scrot: Skip import on MacOS

This commit is contained in:
Dylan Araps 2017-06-14 13:23:44 +10:00
parent 3314f7e38d
commit 3863fec23e

View file

@ -2662,7 +2662,7 @@ scrot_program() {
elif type -p maim >/dev/null; then
scrot_program=(maim)
elif type -p import >/dev/null; then
elif type -p import >/dev/null && [[ "$os" != "Mac OS X" ]]; then
scrot_program=(import -window root)
elif type -p imlib2_grab >/dev/null; then