Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion screenfetch-dev
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down