1.5 KiB
1.5 KiB
setup_macos_dock
Configures macOS Dock settings and populates it with preferred applications.
Platform
macOS only - Uses defaults and dockutil
Description
This script automates the configuration of the macOS Dock by:
- Setting visual preferences (auto-hide, size, magnification)
- Removing all existing Dock items
- Adding a curated list of frequently used applications
- Restarting the Dock to apply changes
Usage
./setup_macos_dock.sh
Dock Settings Applied
| Setting | Value | Description |
|---|---|---|
| autohide | true | Dock hides automatically |
| tilesize | 50 | Icon size (pixels) |
| largesize | 64 | Magnified icon size |
| magnification | false | Disable icon magnification |
| orientation | bottom | Dock position |
| mineffect | "" | Minimize effect (none) |
| NSAutomaticWindowAnimationsEnabled | false | Disable window animations |
Default Applications
The script adds these apps to the Dock (in order):
- Mail.app
- Messages.app
- WezTerm.app
- Obsidian.app
- Zen.app
- System Settings.app
Requirements
- macOS
- dockutil:
brew install dockutil(script auto-installs if missing)
Warning
This script removes ALL existing Dock items before adding the preferred applications. Your current Dock configuration will be replaced.
Notes
- The Dock automatically restarts after configuration
- System Settings may be called "System Preferences" on older macOS versions
- Edit the script to customize the list of applications