Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.
/ MBI Public archive

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

License

Notifications You must be signed in to change notification settings

bteapot/MBI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published