mirror of
https://github.com/Toxblh/MTMR.git
synced 2026-01-11 09:28: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
|
||||
#
|
||||
# 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)
|
||||
if let error = error {
|
||||
print(error)
|
||||
return ""
|
||||
return "error"
|
||||
}
|
||||
return output.stringValue ?? ""
|
||||
}
|
||||
|
||||
@ -16,11 +16,10 @@ 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
|
||||
}
|
||||
|
||||
|
||||
required init?(coder: NSCoder) {
|
||||
fatalError("init(coder:) has not been implemented")
|
||||
}
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
[](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
|
||||
|
||||
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