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:
commit
adaed36fbd
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,5 @@
|
|||||||
|
|
||||||
|
.DS_Store
|
||||||
# Xcode
|
# Xcode
|
||||||
#
|
#
|
||||||
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
|
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
|
||||||
|
|||||||
@ -49,7 +49,7 @@ class AppleScriptTouchBarItem: CustomButtonTouchBarItem {
|
|||||||
let output = script.executeAndReturnError(&error)
|
let output = script.executeAndReturnError(&error)
|
||||||
if let error = error {
|
if let error = error {
|
||||||
print(error)
|
print(error)
|
||||||
return ""
|
return "error"
|
||||||
}
|
}
|
||||||
return output.stringValue ?? ""
|
return output.stringValue ?? ""
|
||||||
}
|
}
|
||||||
|
|||||||
@ -16,7 +16,6 @@ class CustomButtonTouchBarItem: NSCustomTouchBarItem {
|
|||||||
self.tapClosure = callback
|
self.tapClosure = callback
|
||||||
super.init(identifier: identifier)
|
super.init(identifier: identifier)
|
||||||
button = NSButton(title: title, target: self, action: #selector(didTapped))
|
button = NSButton(title: title, target: self, action: #selector(didTapped))
|
||||||
button.font = .systemFont(ofSize: CGFloat(13.0))
|
|
||||||
button.title = title
|
button.title = title
|
||||||
self.view = button
|
self.view = button
|
||||||
}
|
}
|
||||||
|
|||||||
@ -17,7 +17,7 @@
|
|||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>0.8.1</string>
|
<string>0.9</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>1</string>
|
<string>1</string>
|
||||||
<key>LSMinimumSystemVersion</key>
|
<key>LSMinimumSystemVersion</key>
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
[](https://github.com/Toxblh/MTMR/releases)
|
[](https://github.com/Toxblh/MTMR/releases)
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="Resources/TouchBar-v0.6.png">
|
<img src="Resources/TouchBar-v0.8.1.png">
|
||||||
</p>
|
</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 :)
|
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
|
- brightnessDown
|
||||||
- volumeDown
|
- volumeDown
|
||||||
- volumeUp
|
- volumeUp
|
||||||
|
- dock
|
||||||
|
|
||||||
> Media Keys
|
> Media Keys
|
||||||
- previous
|
- previous
|
||||||
|
|||||||
BIN
Resources/TouchBar-v0.8.1.png
Normal file
BIN
Resources/TouchBar-v0.8.1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 34 KiB |
Loading…
Reference in New Issue
Block a user