S Stephane Poulin Back to projects
Published Project

PeaceMenu

A menu bar organizer for macOS that brings some peace to a crowded menu bar. It hides the icons you don't need, sorts the others into named groups you fold and unfold with a click, and switches between profiles: one set of groups for work, another for focus, another for the small screen of a laptop.

Requires
macOS 14
Runs on
Apple silicon, Intel
Permission
Accessibility
Price
Free

What It Does

Hide the clutter

Click ☮ to show or hide the icons that are in no group. The ones you rarely use stay out of sight until you need them.

Groups you fold

Put icons in named groups. Each group has a title in the menu bar (a name, a symbol, a line, a dot or a space) and a color; click it to fold or unfold its icons.

Profiles

A profile says which groups show, and in which order. Switch from the ☮ menu, and the menu bar rearranges itself.

Nothing missed

When an icon in a folded group changes, say a VPN disconnects, an orange dot appears on the group's title and the icon shows for a moment.

New icons sorted

When an app adds an icon, PeaceMenu puts it back in its group, or behind the others when it has none.

Always in view

⌘-drag an icon to the right of ☮ and it always stays visible. The purple recording indicator stays at the left end, out of the way of your groups.

About This Project

Every app wants a spot in the menu bar, and after a while there is no room left, especially on a laptop. PeaceMenu keeps the icons you use in plain sight, puts the others in groups you open when you need them, and hides the rest.

macOS has no public way to move another app's menu bar icon, so PeaceMenu does what you would do: a ⌘-drag. While it moves icons, your clicks are held off for a moment. Hidden icons sit off screen, pushed there by two separators that stretch when needed. From left to right, the menu bar reads:

[always hidden…] ‹‹ [hidden…] ‹ [groups] ☮ [always visible] clock

Built With

  • Swift
  • SwiftUI
  • AppKit
  • Accessibility API
  • Core Graphics events

Every menu bar icon window belongs to Control Center on recent macOS, so PeaceMenu finds which icon is whose through Accessibility. A log of what it moved is kept on your Mac.

Permissions

To read the menu bar icons and move them, the app needs the Accessibility permission, granted once in System Settings › Privacy & Security › Accessibility. It stays from one version to the next.

Get It

The download is a disk image for Apple silicon and Intel Macs; the repository's README shows how to open it the first time. Right-click ☮ › Check for Updates opens the latest release. Or build and install it with ./build.sh from the repository.

Version History

1.1.0

  • A colored ☮. Settings › General › Menu bar icon offers Classic, Rainbow or 70s stripes, bright on a dark menu bar and darker on a light one.
  • The hiding settings now say they are about the icons in no group.

1.0.0

  • First public release, as a download for Apple silicon and Intel Macs.

All release notes on GitHub

More Projects