#Position
Set the Dock position
- Tested on macOS:
- Big Sur
- Catalina
- Mojave
- Parameter type: string
- left
- bottom
- right
#Set toleft
defaults write com.apple.dock orientation -string left && killall Dock
- Put the Dock on the left of the screen
#Set tobottom
(default value)
defaults write com.apple.dock orientation -string bottom && killall Dock
- Put the Dock on the bottom of the screen
#Set toright
defaults write com.apple.dock orientation -string right && killall Dock
- Put the Dock on the right of the screen
#Read current value
defaults read com.apple.dock orientation
#Delete current value
defaults delete com.apple.dock orientation && killall Dock