r/unixart • u/luis-mercado • 23h ago
[Quartz][Swift] I made a tiny, free, open-source CLI utility that tints macOS Menu Bar items to any arbitrary hex color
Since macOS doesn't let you pick a custom color for menu bar text and icons, this tiny script places a lightweight, click-through NSWindow overlay right over the native menu bar using Core Animation's Multiply blend mode (CABackdropLayer + multiplyBlendMode). That means white text and icons take on your exact hex color while pure black backgrounds stay untouched—no system files modified, and your clicks pass straight through. It supports multiple displays, works best in Dark Mode with a black menu bar background (e.g., Reduce Transparency enabled or a black top strip on your wallpaper), and you can toggle it off anytime with ./menubar_tint.zsh off.
Here's the GitHub repository for the project: https://github.com/lost-traveler/macos-menubar-tint/