Enter Hidden Bar. An ultra-light, free and open source macOS utility that helps hide menu bar icons.
When you first open the app there’s not much fluff in the UI. You can enable or disable settings and set a global shortcut. One thing I’d suggest here, is to disable “Show preferences on launch” so the screen below won’t pop up every time you restart your Mac.
The preferences window even shows you how to use the app to hide your menu bar icons.
Everything that’s on the left of the vertical line will be hidden. To move icons in your menu bar, just hold
cmd , click on an icon and drag it.
To access the preferences window, click on the app’s icon in the menu bar and then click on the vertical bar.
That’s pretty much it. No fluff, no fuss and it does its job. Hidden Bar is available on Github.