Skip to content

magnification

Desktop & Dock > Dock > Magnification

Option Module: home-manager

Option Path: applications.systemSettings.desktopAndDock.dock.magnification.enabled

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

false:

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

true:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.dock magnification -bool "true" 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 magnification 2>/dev/null || true && \
/usr/bin/killall Dock 2>/dev/null || true

Desktop & Dock > Dock > Magnification Size

Option Module: home-manager

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

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

unset:

Terminal window
/usr/bin/defaults delete ~/Library/Preferences/ByHost/com.apple.dock largesize 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 largesize -int "value" 2>/dev/null || true && \
/usr/bin/killall Dock 2>/dev/null || true