美文网首页
macOS Mojave 关闭特定应用的深色模式方法

macOS Mojave 关闭特定应用的深色模式方法

作者: Rosyyyy | 来源:发表于2019-06-07 23:12 被阅读0次

当在mac中使用深色模式的时候,所有应用的默认模式都会变为黑暗模式,但是有些应用并不适合于深色模式,如何关闭这些应用的深色模式呢?

方法是:在终端中输入命令

defaults write [Bundle Identifier] NSRequiresAquaSystemAppearance -bool Yes

将 [Bundle Identifier]位置替换成相应的app的 Bundle Identifier。重启即可关闭

Bundle Identifier

在终端中输入

osascript -e 'id of app "[App Name]" '

找到对应应用的Bundle Identifier,将[App Name]替换成相应应用的名字。例如:osascript -e 'id of app "印象笔记"'

参考

How to Turn Off Dark Mode for Specific Apps in macOS Mojave

相关文章

网友评论

      本文标题:macOS Mojave 关闭特定应用的深色模式方法

      本文链接:https://www.haomeiwen.com/subject/lmqbxctx.html