Skip to content
This repository was archived by the owner on Sep 7, 2020. It is now read-only.

Latest commit

 

History

History
36 lines (18 loc) · 1.04 KB

README.md

File metadata and controls

36 lines (18 loc) · 1.04 KB

MBI

Menu bar unread count indication for Mail.app in Mac OS.

Usage

Enable Mail.app bundles:

defaults write com.apple.mail EnableBundles -bool YES

Build the project. This will place MBI.mailbundle into ~/Desktop. Copy it into ~/Library/Mail/Bundles and restart Mail.app.

On macOS Mojave open Mail.app, navigate to Preferences / General / Manage Plug-ins… and enable MBI.mailbundle.

Compatibility

For compatibility with future versions of Mail.app, use:

defaults read /System/Applications/Mail.app/Contents/Info PluginCompatibilityUUID

This will extract UUID.

Add it to project's Info.plist into Supported%ld.%ldPluginCompatibilityUUIDs, where %ld.%ld is the operating system version like 10.12.

Build project and restart Mail.app.

Hide badge on zero unread messages

Type in Terminal in macOS < Mojave:

defaults write com.apple.mail MBIHideOnZero -bool TRUE

or in modern macOSes:

defaults write ~/Library/Containers/com.apple.mail/Data/Library/Preferences/com.apple.mail.plist MBIHideOnZero -bool TRUE