No description
Find a file
2017-05-25 23:39:17 +07:00
DFRSupportKit.framework Fix building on Xcode 8.3 (#9) 2017-04-17 12:53:14 +07:00
Stuff Add icon to the readme 2017-03-16 11:07:44 +07:00
Touch Bar Simulator 1.2.0 2017-05-25 23:13:34 +07:00
Touch Bar Simulator.xcodeproj Fix building on Xcode 8.3 (#9) 2017-04-17 12:53:14 +07:00
.editorconfig Init 2017-03-16 01:25:20 +07:00
.gitattributes Init 2017-03-16 01:25:20 +07:00
.gitignore Add build script 2017-03-28 01:01:09 +07:00
build Add build script 2017-03-28 01:01:09 +07:00
Cartfile Add updater 2017-03-27 15:34:41 +07:00
Cartfile.resolved Add updater 2017-03-27 15:34:41 +07:00
export-options.plist Add build script 2017-03-28 01:01:09 +07:00
license Init 2017-03-16 01:25:20 +07:00
readme.md Add ability to toggle it in the Services menu and with keyboard shortcut (#13) 2017-05-25 23:00:25 +07:00
screenshot.png Various minor improvements 2017-03-21 11:40:14 +07:00

Touch Bar Simulator

Use the Touch Bar on any Mac

Launch the Touch Bar simulator from anywhere without needing to have Xcode installed, whereas Apple requires you to launch it from inside Xcode. It also comes with a handy transparency slider, a screenshot button, and a service to toggle the Touch Bar in the Services menu or with a keyboard shortcut.

You can add a shortcut in System PreferencesKeyboardShortcutsServicesToggle Touch Bar.

Discuss it on Product Hunt

Check out my other macOS app → Battery Indicator

Getting started

Download the latest release


Or install it with Homebrew-Cask:

$ brew update && brew cask install touch-bar-simulator

Requires macOS 10.12.2 or later.

Screenshot

You can capture a screenshot of the Touch Bar by either:

  1. Clicking the screenshot button in the Touch Bar window which saves it to ~/Desktop.
  2. Pressing ⇧⌘6 which saves it to ~/Desktop.
  3. Pressing ⌃⇧⌘6 which saves it to the clipboard.

FAQ

How is this better than TouchBarLauncher?

  • Doesn't require Xcode
  • Signed binary
  • Transparency slider
  • Screenshot button
  • Doesn't steal focus when launched
  • Doesn't take up space in the Dock or app switcher

Why is this not on the App Store?

Apple would never allow it as it uses private APIs.

How does this work?

In short, it exposes the Touch Bar simulator from inside Xcode as a standalone app with added features. I class-dumped a private Xcode framework and used that to expose a private class to get a reference to the Touch Bar window controller. I then launch that window and add a screenshot button to it. I've bundled the required private frameworks to make it work without Xcode. That's why the binary is so big.

Build

./build

License

MIT © Sindre Sorhus