CLI to manipulate the macOS Dock
Install with Homebrew (https://brew.sh/)
brew install kalahari/tap/dok
dok left
Move the dock to the left side of the screen.
dok right
Move the dock to the right side of the screen.
dok down
(or dok bottom
)
Move the dock to the bottom of the screen.
dok side
Alternate the dock between the left and right sides of the screen.
dok autohide
Toggle dock autohide mode.
dok hide
Enable dock autohide mode.
dok show
Disable dock autohide mode.
dok display
Output the dock position and autohide mode.