diff --git a/screenfetch-dev b/screenfetch-dev index e7682e1a..9bf058f6 100755 --- a/screenfetch-dev +++ b/screenfetch-dev @@ -3022,7 +3022,7 @@ takeShot () { $screenCommand else shotfiles[1]=${shotfile} - if [ "$distro" == "Mac OS X" || "$distro" == "macOS" ]; then + if [[ "$distro" == "Mac OS X" || "$distro" == "macOS" ]]; then displays="$(system_profiler SPDisplaysDataType | grep -c 'Resolution:' | tr -d ' ')" for (( i=2; i<=displays; i++)) do