Skip to content

dock

Desktop & Dock > Dock > Animate opening applications

Option Module: home-manager

Option Path: applications.systemSettings.desktopAndDock.dock.animateOpeningApplications

Option Value Description: null or boolean or value "unset" (singular enum)

false:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.dock launchanim -bool "false" 2>/dev/null || true

true:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.dock launchanim -bool "true" 2>/dev/null || true

unset:

Terminal window
/usr/bin/defaults delete ~/Library/Preferences/ByHost/com.apple.dock launchanim 2>/dev/null || true

Desktop & Dock > Dock > Double-click a window’s title bar to

Option Module: home-manager

Option Path: applications.systemSettings.desktopAndDock.dock.doubleClickAWindowsTitleBarTo

Option Value Description: null or one of "Do nothing", "Fill", "Minimize", "Zoom", "unset"

Do nothing:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/.GlobalPreferences AppleActionOnDoubleClick -string "None" 2>/dev/null || true

Fill:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/.GlobalPreferences AppleActionOnDoubleClick -string "Fill" 2>/dev/null || true

Minimize:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/.GlobalPreferences AppleActionOnDoubleClick -string "Minimize" 2>/dev/null || true

Zoom:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/.GlobalPreferences AppleActionOnDoubleClick -string "Maximize" 2>/dev/null || true

unset:

Terminal window
/usr/bin/defaults delete ~/Library/Preferences/ByHost/.GlobalPreferences AppleActionOnDoubleClick 2>/dev/null || true

Desktop & Dock > Dock > Minimize windows into application icon

Option Module: home-manager

Option Path: applications.systemSettings.desktopAndDock.dock.minimizeWindowsIntoApplicationIcon

Option Value Description: null or boolean or value "unset" (singular enum)

false:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.dock minimize-to-application -bool "false" 2>/dev/null || true

true:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.dock minimize-to-application -bool "true" 2>/dev/null || true

unset:

Terminal window
/usr/bin/defaults delete ~/Library/Preferences/ByHost/com.apple.dock minimize-to-application 2>/dev/null || true

Desktop & Dock > Dock > Minimize windows using

Option Module: home-manager

Option Path: applications.systemSettings.desktopAndDock.dock.minimizeWindowsUsing

Option Value Description: null or one of "Genie Effect", "Scale Effect", "unset"

Genie Effect:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.dock mineffect -string "genie" 2>/dev/null || true

Scale Effect:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.dock mineffect -string "scale" 2>/dev/null || true

unset:

Terminal window
/usr/bin/defaults delete ~/Library/Preferences/ByHost/com.apple.dock mineffect 2>/dev/null || true

Desktop & Dock > Dock > Position on screen

Option Module: home-manager

Option Path: applications.systemSettings.desktopAndDock.dock.positionOnScreen

Option Value Description: null or one of "Bottom", "Left", "Right", "unset"

Bottom:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.dock orientation -string "bottom" 2>/dev/null || true && \
/usr/bin/killall Dock 2>/dev/null || true

Left:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.dock orientation -string "left" 2>/dev/null || true && \
/usr/bin/killall Dock 2>/dev/null || true

Right:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.dock orientation -string "right" 2>/dev/null || true && \
/usr/bin/killall Dock 2>/dev/null || true

unset:

Terminal window
/usr/bin/defaults delete ~/Library/Preferences/ByHost/com.apple.dock orientation 2>/dev/null || true && \
/usr/bin/killall Dock 2>/dev/null || true

Desktop & Dock > Dock > Show indicators for open applications

Option Module: home-manager

Option Path: applications.systemSettings.desktopAndDock.dock.showIndicatorsForOpenApplications

Option Value Description: null or boolean or value "unset" (singular enum)

false:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.dock show-process-indicators -bool "false" 2>/dev/null || true

true:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.dock show-process-indicators -bool "true" 2>/dev/null || true

unset:

Terminal window
/usr/bin/defaults delete ~/Library/Preferences/ByHost/com.apple.dock show-process-indicators 2>/dev/null || true

Desktop & Dock > Dock > Show suggested and recent apps in Dock

Option Module: home-manager

Option Path: applications.systemSettings.desktopAndDock.dock.showSuggestedAndRecentAppsInDock

Option Value Description: null or boolean or value "unset" (singular enum)

false:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.dock show-recents -bool "false" 2>/dev/null || true

true:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.dock show-recents -bool "true" 2>/dev/null || true

unset:

Terminal window
/usr/bin/defaults delete ~/Library/Preferences/ByHost/com.apple.dock show-recents 2>/dev/null || true

Desktop & Dock > Dock > Size

Option Module: home-manager

Option Path: applications.systemSettings.desktopAndDock.dock.size

Option Value Description: null or integer between 16 and 128 (both inclusive) or value "unset" (singular enum)

unset:

Terminal window
/usr/bin/defaults delete ~/Library/Preferences/ByHost/com.apple.dock tilesize 2>/dev/null || true && \
/usr/bin/killall Dock 2>/dev/null || true

value:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.dock tilesize -int "value" 2>/dev/null || true && \
/usr/bin/killall Dock 2>/dev/null || true