A tiny, free menu bar app that turns your MacBook Pro's Touch Bar off and on with one click or a keyboard shortcut.
Click the BarNap icon (a small rectangle) in your menu bar to get two options:
- Turn Touch Bar Off / On: Off makes the Touch Bar go black (fully hidden, Control Strip included). On brings it back.
- Quit BarNap
⌃⌥⌘T (Control + Option + Command + T) also switches it off and on from any app.
Quitting BarNap always brings the Touch Bar back.
No account, no tracking, no network access. Under 1 MB.
- A MacBook Pro with a Touch Bar (Intel or Apple Silicon)
- macOS 13 Ventura or newer
There are two ways. Pick one.
| Option A: Download the DMG | Option B: Clone and run install.sh |
|
|---|---|---|
| Best for | Most people | People comfortable with Terminal |
| Needs | Nothing | Apple Command Line Tools |
| macOS security warning | Yes, once (steps below) | No |
- Download BarNap.dmg from the latest release.
- Open the DMG and drag BarNap into Applications.
- Open BarNap from Applications. The first time, macOS blocks it. That's expected; follow the steps below once.
BarNap is free and isn't signed with a paid Apple Developer ID, so macOS shows this warning the first time:
-
Click Done. Don't click "Move to Trash/Bin", which deletes the app.
-
Open System Settings → Privacy & Security and scroll down to the Security section.
-
Next to "BarNap" was blocked to protect your Mac., click Open Anyway.
-
A second warning, Open "BarNap"?, appears. Click Open Anyway.
-
Enter your Mac password (or use Touch ID) to confirm.
The rectangle icon appears in your menu bar. From now on BarNap opens normally.
On macOS 13 Ventura or 14 Sonoma, you can instead right-click BarNap in Applications → Open → Open.
Prefer Terminal? This one command replaces steps 1–5:
xattr -dr com.apple.quarantine /Applications/BarNap.appThis builds BarNap on your own Mac from the source code in this repo, so macOS shows no security warning.
git clone https://github.com/uShaukat3737/BarNap.git
cd BarNap
./install.shThe script builds BarNap.app inside the cloned folder, copies it into Applications and opens it. If it says you need the Command Line Tools, run xcode-select --install, wait for that install to finish, then run ./install.sh again.
To update later, run git pull and then ./install.sh again.
System Settings → General → Login Items → + → choose BarNap.
Click the BarNap menu bar icon → Quit BarNap, then delete /Applications/BarNap.app.
./scripts/test.sh # run tests
./scripts/bundle.sh # build BarNap.app (Intel + Apple Silicon)
./scripts/dmg.sh # build BarNap.dmg
./scripts/make-icon.sh # regenerate the app icon from scripts/draw-icon.swiftBarNap presents an empty, full-width "system modal" Touch Bar on top of everything, which leaves the Touch Bar black. This uses private Apple APIs (the same technique other Touch Bar utilities use), so a future macOS update could break it. If it stops working, please open an issue.
MIT. Free for everyone.

