Git Product home page Git Product logo

touch-bar-emojis's Introduction

Touch Bar Emojis app ๐Ÿ‘†

Touch Bar Emojis is a small app (written in Swift) which displays a permanent emoji input view for any app (see below for more info), providing a faster access to emojis, including in apps that don't have an emoji button.

Updated (v1.1) for macOS Mojave (10.14) support.

Download

  1. Make sure you have a Mac with a Touch Bar (or a virtual Touch Bar)

  2. Download the app here

Features

  • Display your most frequently used emojis (on 10.12: the most recently used emojis โ€” MacOS 10.12 doesn't keep track on how many times an emoji is used โ€” and starting in 10.13 your most frequently used emojis)

  • Add/remove apps that should show the permanent emoji view (for example apps such as Spotify shouldn't display the emoji view):

  • A button to display the emoji picker (it feels more natural than using the keyboard shortcut control + command + space)

  • A close button to temporarily display an app's original Touch Bar view

  • (to display the esc key in an app that displays the permanent emoji view, you can use the fn key (which displays the F keys as well as the esc key))

How the App works

The app uses a private API for the Touch Bar (discovered by Alexsander Akers: https://github.com/a2/touch-baer), which allows us to show/hide a custom view in top of the regular Touch Bar view.

+ (void)dismissSystemModalFunctionBar:(id)arg1;
+ (void)presentSystemModalFunctionBar:(id)arg1 systemTrayItemIdentifier:(id)arg2;

The view we show/hide consists of your most frequently used emojis. This list is retrieved from a preferences file. In 10.12, from:

~/Library/Preferences/com.apple.CharacterPicker.plist

and starting in 10.13, from:

~/Library/Preferences/com.apple.EmojiPreferences.plist

(From 10.13, MacOS will start keeping track of how often we use emojis, unlike 10.12 and prior which was only keeping track on the latest emojis used)

When switching app, TBE gets a notification and automatically show/hide the view depending on the apps you've added to the list.

Installing

The app is a regular app โ€” not a Menu Bar app or a system preference pane. It needs to stay open for the emoji custom view to be displayed (this is a beta version).

MacDown logo

Emoji shortcuts

I also created another app, to create emoji shortcuts (faster than using the Touch Bar): Momoji.io

Author

Gabriel Lorin (https://github.com/gabriellorin)

Contributors

Aaron (https://github.com/Spilly) ๐Ÿ™Œ

License

This project is licensed under the MIT License

touch-bar-emojis's People

Contributors

avm0418 avatar gabriellorin avatar

Watchers

 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.