Set the new show menu bar in full screen option per-app
刘海屏的MacBook,应用全屏时上面有一条黑色的空间,无法利用,要么显示菜单栏,要么让当前应用占用。
显示菜单栏
defaults write com.example.SomeApp AppleMenuBarVisibleInFullscreen -bool true |
To revert
defaults delete com.example.SomeApp AppleMenuBarVisibleInFullscreen |
使用osascript -e 'id of app "APPNAME"'来获取 App 的 bundle identifier。
- 本文标题:Set the new show menu bar in full screen option per-app
- 创建时间:2025-10-04 23:38:01
- 本文链接:2025/10/04/note/Macos/window-fullscreen-with-menubar/
- 版权声明:本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!
显示评论