feat: macos tricks reduce padding

main
sudo pacman -Syu 2024-02-12 21:31:24 +07:00
parent b5b1c4ea56
commit 1b89054f2f
2 changed files with 30 additions and 0 deletions

View File

@ -991,6 +991,13 @@ xcode-select --install</pre>
<div class="highlight highlight-source-shell">
<pre>defaults write com.apple.dock ResetLaunchPad -bool <span class="pl-c1">true</span><span class="pl-k">;</span> killall Dock</pre>
</div>
<p>Reduce padding in menu bar (Log out then log in to apply):</p>
<div class="highlight highlight-source-shell">
<pre>
defaults -currentHost write -globalDomain NSStatusItemSelectionPadding -int 6
defaults -currentHost write -globalDomain NSStatusItemSpacing -int 6</pre
>
</div>
<p>Clean up leftover data:</p>
<ul>
<li><code>~/Library/Application Support</code></li>
@ -1010,6 +1017,20 @@ xcode-select --install</pre>
>https://apple.stackexchange.com/a/466029</a
>
</li>
<li>
<a
href="https://flaky.build/native-fix-for-applications-hiding-under-the-macbook-pro-notch"
rel="nofollow"
>Native fix for applications hiding under the MacBook Pro notch</a
>
<ul>
<li>
<a href="https://apple.stackexchange.com/q/406316" rel="nofollow"
>https://apple.stackexchange.com/q/406316</a
>
</li>
</ul>
</li>
</ul>
<h3>
<a

View File

@ -262,6 +262,13 @@ Reset launchpad:
defaults write com.apple.dock ResetLaunchPad -bool true; killall Dock
```
Reduce padding in menu bar (Log out then log in to apply):
```sh
defaults -currentHost write -globalDomain NSStatusItemSelectionPadding -int 6
defaults -currentHost write -globalDomain NSStatusItemSpacing -int 6
```
Clean up leftover data:
- `~/Library/Application Support`
@ -279,6 +286,8 @@ pbcopy < /dev/null
Thanks:
- https://apple.stackexchange.com/a/466029
- [Native fix for applications hiding under the MacBook Pro notch](https://flaky.build/native-fix-for-applications-hiding-under-the-macbook-pro-notch)
- https://apple.stackexchange.com/q/406316
### Firefox