Merge pull request #790 from ybden/master
Prioritise maim(1) over scrot(1).
This commit is contained in:
commit
af09dc29bf
1 changed files with 3 additions and 3 deletions
6
neofetch
6
neofetch
|
@ -2702,12 +2702,12 @@ scrot_program() {
|
|||
if [[ "$scrot_cmd" != "auto" ]] && type -p "$scrot_cmd" >/dev/null; then
|
||||
scrot_program=("$scrot_cmd")
|
||||
|
||||
elif type -p scrot >/dev/null; then
|
||||
scrot_program=(scrot)
|
||||
|
||||
elif type -p maim >/dev/null; then
|
||||
scrot_program=(maim)
|
||||
|
||||
elif type -p scrot >/dev/null; then
|
||||
scrot_program=(scrot)
|
||||
|
||||
elif type -p import >/dev/null && [[ "$os" != "Mac OS X" ]]; then
|
||||
scrot_program=(import -window root)
|
||||
|
||||
|
|
Loading…
Reference in a new issue