-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b14011c
commit 229c3b0
Showing
31 changed files
with
85 additions
and
11 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# Touch Bar Emojis app 👆 | ||
|
||
![](README-images/touchbaremojis-gif4.gif) | ||
|
||
*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. | ||
|
||
## 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) | ||
|
||
![](README-images/touchbaremojis-gif.gif) | ||
|
||
* Add/remove apps that should show the permanent emoji view (for example apps such as Spotify shouldn't display the emoji view): | ||
|
||
![](README-images/touchbaremojis-screenshot.png) | ||
|
||
<img align="right" width="200px" src="README-images/touchbaremojis-character-viewer.gif"> | ||
|
||
* A button <img width="88px" src="README-images/touchbaremojis-emojis.png"> to display the emoji picker (it feels more natural than using the keyboard shortcut control + command + space) | ||
|
||
* A close button <img width="64px" src="README-images/touchbaremojis-close.png"> 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)) | ||
|
||
![](README-images/touchbaremojis-f-keys.png) | ||
|
||
## How the App works | ||
|
||
The app uses a private API for the Touch Bar (discovered by Alexsander Akers: [https://github.com/a2/touch-baer](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](README-images/touchbaremojis-emojiicon.png) | ||
|
||
## Emoji shortcuts | ||
|
||
I also created another app, to create emoji shortcuts (faster than using the Touch Bar): [Momoji.io](https://momoji.io) | ||
|
||
## Author | ||
|
||
Gabriel Lorin | ||
|
||
## License | ||
|
||
This project is licensed under the MIT License | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+179 KB
TouchBarEmojis/Assets.xcassets/AppIcon.appiconset/icon-emoji2-1024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.5 KB
TouchBarEmojis/Assets.xcassets/AppIcon.appiconset/icon-emoji2-128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+693 Bytes
TouchBarEmojis/Assets.xcassets/AppIcon.appiconset/icon-emoji2-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+28.7 KB
TouchBarEmojis/Assets.xcassets/AppIcon.appiconset/icon-emoji2-256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+28.7 KB
TouchBarEmojis/Assets.xcassets/AppIcon.appiconset/icon-emoji2-257.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Diff not rendered.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters