Merge pull request #749 from dylanaraps/scrot
scrot: Skip "import" on MacOS
This commit is contained in:
commit
55c772a3cf
2
neofetch
2
neofetch
|
@ -2662,7 +2662,7 @@ scrot_program() {
|
||||||
elif type -p maim >/dev/null; then
|
elif type -p maim >/dev/null; then
|
||||||
scrot_program=(maim)
|
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)
|
scrot_program=(import -window root)
|
||||||
|
|
||||||
elif type -p imlib2_grab >/dev/null; then
|
elif type -p imlib2_grab >/dev/null; then
|
||||||
|
|
Reference in New Issue