HarmonyOS Tabbar 自定义 bar_python

The stock Touch Bar on Apple’s MacBook feels a little bland. If you’ve ever wanted to spruce it up a bit with things like custom buttons and widgets, the BetterTouchBar app lets you do just that.

苹果MacBook上的普通Touch Bar感觉有些平淡。 如果您曾经想通过自定义按钮和小部件来修饰一下它,那么BetterTouchBar应用程序可以让您做到这一点。

BetterTouchTool is an app designed primarily for customizing trackpad gestures, but it also has a very powerful Touch Bar customizer built in. While the app isn’t free, $6.50 is not a bad price for such a powerful app. There’s a 45-day trial, so you can test it out and see how you like it. By the end, you might not want to go back to the stock Touch Bar.

BetterTouchTool是一款主要用于自定义触控板手势的应用程序,但它还内置了功能非常强大的Touch Bar定制器。尽管该应用程序不是免费的,但对于这样一款功能强大的应用程序来说,6.50美元的价格并不算便宜。 有一个为期45天的试用版,因此您可以对其进行测试并查看您的喜欢程度。 到最后,您可能不想回到股票Touch Bar。

(Get Started by Adding a Button)

To get started, open up the settings in BetterTouchTool and click the Touch Bar settings. From here, click “General Touch Bar Settings” to open up the window shown below.

首先,请在BetterTouchTool中打开设置,然后单击“触摸栏”设置。 在此处,单击“常规触摸栏设置”以打开如下所示的窗口。

HarmonyOS Tabbar 自定义 bar_python_02

From here you can enable Touch Bar support and modify the settings. If you want to clear the TouchBar, you can disable the macOS control strip and configure how the Escape key functions.

在这里,您可以启用Touch Bar支持并修改设置。 如果要清除TouchBar,则可以禁用macOS控制条并配置退出键的功能。

Once you’re done with that, go back into the main window, click  “+ TouchBar Button,” and enter a name. You should now see a new button on your Touch Bar.

完成此操作后,返回主窗口,单击“ + TouchBar按钮”,然后输入一个名称。 现在,您应该在触摸栏中看到一个新按钮。

HarmonyOS Tabbar 自定义 bar_java_03

So what can you make this button do? Well, anything really. You can bind it to a simple keyboard shortcut or choose from any of BetterTouchTool’s hundreds of actions. And if what you want isn’t on the list, you can always execute terminal commands:

那么您可以使该按钮做什么? 好吧,真的什么。 您可以将其绑定到简单的键盘快捷键,也可以从BetterTouchTool的数百种操作中进行选择。 并且如果您想要的不在列表中,则可以随时执行终端命令:

HarmonyOS Tabbar 自定义 bar_java_04

The list of potential actions is long, so be prepared to take some time exploring it.

可能采取的行动清单很长,因此准备花一些时间来探索它。

(Add Widgets for Even More Power)

HarmonyOS Tabbar 自定义 bar_qt_05

You can add some widgets to your Touch Bar, as well. Button groups are a nice place to start. They let you create a group on your Touch Bar that, when tapped, reveals additional buttons. You can think of them like “folders” for your buttons, and they really help clear up space.

您也可以将一些小部件添加到触摸栏。 按钮组是一个不错的起点。 它们使您可以在触摸栏上创建一个组,点击该组可显示其他按钮。 您可以将它们视为按钮的“文件夹”,它们确实有助于清理空间。

Probably the most potent widget available is the custom Applescript slider. This widget runs Applescript and passes to it whatever value is set on the slider. This essentially connects your Touch Bar to a scripting language.

可能最有效的小部件是自定义Applescript滑块。 该小部件将运行Applescript,并将滑块上设置的任何值传递给它。 这实际上将您的Touch Bar连接到脚本语言。

HarmonyOS Tabbar 自定义 bar_linux_06

Other widgets include the default weather, date, and emoji widgets, as well as support for two, three, and four finger swipe actions.

其他小部件包括默认的天气,日期和表情符号小部件,以及对两个,三个和四个手指轻扫操作的支持。

(GoldenChaos – A Full Touch Bar Replacement)

HarmonyOS Tabbar 自定义 bar_java_07

If you want to dive in completely, you can try out GoldenChaos. It completely replaces the stock Touch Bar and expands on just about everything. It’s very well laid out, and very easy to install; just add the preset to BTT, and enable it.

如果您想完全潜水,可以尝试GoldenChaos 。 它完全替代了库存的Touch Bar,几乎可以扩展所有功能。 它的布局非常好,并且易于安装; 只需将预设添加到BTT,然后启用它即可。

Image Credit: guteksk7/Shutterstock


翻译自: https://www.howtogeek.com/364656/how-to-customize-the-macbooks-touch-bar-with-bettertouchtool/