Git Product home page Git Product logo

touch-bar-simulator's Introduction

Touch Bar Simulator

Launch the Touch Bar simulator from anywhere without needing to have Xcode installed

Whereas Apple requires you to launch it from inside Xcode.

This app also comes with a handy transparency slider and screenshot button.

Discuss it on Product Hunt

Check out my other macOS app โ†’ Battery Indicator

Download

Download the latest release, unzip it, and move it to /Applications.

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 Command Shift 6 which saves it to ~/Desktop.
  3. Pressing Command Control Shift 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.

License

MIT ยฉ Sindre Sorhus

touch-bar-simulator's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.