A role to setup the macOS dock in a configured order. This role relies on dockutil installed.
Homebrew must be setup and installed beforehand.
| Variable | Description |
|---|---|
| macos_dock_apps | List of Dock Applications and Folders |
For parameters of view and sort, please use dockutil -h
macos_dock_apps:
- { path: "/System/Applications/Launchpad.app" }
- { path: "/System/Applications/Mail.app" }
- { path: "/Applications/iTerm.app" }
- { path: "~/Downloads", view: "grid", sort: "name" }
- { path: "/Applications", view: "grid", sort: "name" }MIT