1
0
mirror of https://github.com/Toxblh/MTMR.git synced 2026-01-11 17:38:38 +00:00

Merge remote-tracking branch 'upstream/master'

This commit is contained in:
ad 2018-04-18 16:20:36 +03:00
commit adaed36fbd
6 changed files with 7 additions and 5 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
.DS_Store
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

View File

@ -49,7 +49,7 @@ class AppleScriptTouchBarItem: CustomButtonTouchBarItem {
let output = script.executeAndReturnError(&error)
if let error = error {
print(error)
return ""
return "error"
}
return output.stringValue ?? ""
}

View File

@ -16,7 +16,6 @@ class CustomButtonTouchBarItem: NSCustomTouchBarItem {
self.tapClosure = callback
super.init(identifier: identifier)
button = NSButton(title: title, target: self, action: #selector(didTapped))
button.font = .systemFont(ofSize: CGFloat(13.0))
button.title = title
self.view = button
}

View File

@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.8.1</string>
<string>0.9</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSMinimumSystemVersion</key>

View File

@ -7,7 +7,7 @@
[![GitHub release](https://img.shields.io/github/release/toxblh/MTMR.svg)](https://github.com/Toxblh/MTMR/releases)
<p align="center">
<img src="Resources/TouchBar-v0.6.png">
<img src="Resources/TouchBar-v0.8.1.png">
</p>
My the idea is to create the program like a platform for plugins for customization TouchBar. I very like BTT and a full custom TouchBar (my [BTT preset](https://github.com/Toxblh/btt-touchbar-preset)). And I want to create it. And it's my the first Swift project for MacOS :)
@ -62,6 +62,7 @@ File for customize your preset for MTMR: `open ~/Library/Application\ Support/MT
- brightnessDown
- volumeDown
- volumeUp
- dock
> Media Keys
- previous

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB