Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Commit

Permalink
Add New Hardware for Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
LanikSJ committed Apr 27, 2023
1 parent 0310b76 commit e60d34f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion neofetch
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

version=7.2.2
version=7.2.3

# Fallback to a value of '5' for shells which support bash
# but do not set the 'BASH_' shell variables (osh).
Expand Down Expand Up @@ -1262,6 +1262,7 @@ get_model() {
else
mac_model=$(sysctl -n hw.model)
case $mac_model in
Mac14,10): "MacBook Pro (16-inch, 2023)" ;;
MacBookPro18,[3-4]): "MacBook Pro (14-inch, 2021)" ;;
MacBookPro18,[1-2]): "MacBook Pro (16-inch, 2021)" ;;
MacBookPro17,1): "MacBook Pro (13-inch, M1, 2020)" ;;
Expand Down

0 comments on commit e60d34f

Please sign in to comment.