From 3863fec23e042a1873396496770cb4751db2ef2d Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 14 Jun 2017 13:23:44 +1000 Subject: [PATCH] scrot: Skip import on MacOS --- neofetch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neofetch b/neofetch index 17965dfd..cdbd2897 100755 --- a/neofetch +++ b/neofetch @@ -248,7 +248,7 @@ get_model() { fi ;; - "Mac OS X") + "Mac OS X") if [[ "$(kextstat | grep "FakeSMC")" != "" ]]; then model="Hackintosh (SMBIOS: $(sysctl -n hw.model))" else @@ -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