Skip to content

macOS menu bar replacement, with yabai and AeroSpace support

License

Notifications You must be signed in to change notification settings

ojowwalker77/barik

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

129 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Barik

License Badge Issues Badge Changelog Badge GitHub Downloads (all assets, all releases)

barik is a lightweight macOS menu bar replacement. If you use yabai or AeroSpace for tiling WM, you can display the current space in a sleek macOS-style panel with smooth animations. This makes it easy to see which number to press to switch spaces.


Screenshots

Barik Light Theme Barik Dark Theme

Video

preview-video.mp4

Credits

This is a fork of barik by mocki-toki. Thank you for creating this project!


Requirements

  • macOS 15.0+

Installation

Homebrew (recommended)

brew tap ojowwalker77/barik
brew install --cask barik

To update:

brew upgrade barik

Manual

Download from Releases, unzip, and move to Applications.

First Launch

macOS may block the app since it's not notarized. To open:

xattr -cr /Applications/Barik.app

Or right-click the app → Open → Click "Open".

Setup

  1. (Optional) Install yabai or AeroSpace for workspace support.
  2. Uncheck Desktop & Dock → Show items → On Desktop
  3. Launch barik and add to login items.

Configuration & Customization

Click the gear icon to customize your toolbar:

  • Drag widgets to add/remove/reorder
  • Widgets are organized into left, center, and right zones
  • Center zone stays screen-centered
Screen.Recording.2026-01-30.at.20.08.37_compressed.mp4

Config file: ~/.config/barik/config.toml or ~/.barik-config.toml

theme = "system" # system, light, dark

[widgets]
displayed = [
    "default.spaces",
    "spacer",
    "default.network",
    "default.battery",
    "default.bluetooth",
    "divider",
    "default.time"
]

[background]
enabled = true

[experimental.foreground]
position = "top" # top, bottom
horizontal-padding = 25

Widgets

Widget ID
Spaces default.spaces
Time default.time
Battery default.battery
Network default.network
Bluetooth default.bluetooth
Now Playing default.nowplaying
Divider divider
Flexible Space spacer

Custom Paths

[yabai]
path = "/path/to/yabai"

[aerospace]
path = "/path/to/aerospace"

Now Playing

Supports any media app through MediaRemote framework. Tested with:

  • Spotify
  • Apple Music
  • Browser media

Contributing

PRs welcome!

License

MIT

About

macOS menu bar replacement, with yabai and AeroSpace support

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 99.8%
  • Shell 0.2%