Skip to content

controlCenter

System Settings > Control Center > Accessibility Shortcuts

Option Module: home-manager

Option Path: applications.systemSettings.controlCenter.accessibilityShortcuts

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

showInControlCenter:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter AccessibilityShortcuts -int "1" 2>/dev/null || true

showInMenuBar:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter AccessibilityShortcuts -int "2" 2>/dev/null || true

unset:

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

System Settings > Control Center > AirDrop

Option Module: home-manager

Option Path: applications.systemSettings.controlCenter.airdrop

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

false:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter AirDrop -int "24" 2>/dev/null || true

true:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter AirDrop -int "18" 2>/dev/null || true

unset:

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

System Settings > Control Center > Other Modules > Battery

Option Module: home-manager

Option Path: applications.systemSettings.controlCenter.battery

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

unset:

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

{ showInMenuBar = false; showInControlCenter = false }:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter Battery -int "8" 2>/dev/null || true

{ showInMenuBar = false; showInControlCenter = true }:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter Battery -int "9" 2>/dev/null || true

{ showInMenuBar = true; showInControlCenter = false }:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter Battery -int "0" 2>/dev/null || true

{ showInMenuBar = true; showInControlCenter = true }:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter Battery -int "1" 2>/dev/null || true

System Settings > Control Center > Other Modules > Battery > Show Percentage

Option Module: home-manager

Option Path: applications.systemSettings.controlCenter.batteryShowPercentage

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

false:

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

true:

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

unset:

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

System Settings > Control Center > Bluetooth

Option Module: home-manager

Option Path: applications.systemSettings.controlCenter.bluetooth

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

false:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter Bluetooth -int "24" 2>/dev/null || true

true:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter Bluetooth -int "18" 2>/dev/null || true

unset:

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

System Settings > Control Center > Display

Option Module: home-manager

Option Path: applications.systemSettings.controlCenter.display

Option Value Description: null or one of "active", "always", "never", "unset"

active:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter Display -int "24" 2>/dev/null || true

always:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter Display -int "18" 2>/dev/null || true

never:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter Display -int "24" 2>/dev/null || true

unset:

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

System Settings > Control Center > User Switcher

Option Module: home-manager

Option Path: applications.systemSettings.controlCenter.fastUserSwitching

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

showInControlCenter:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter UserSwitcher -int "1" 2>/dev/null || true

showInMenuBar:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter UserSwitcher -int "2" 2>/dev/null || true

unset:

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

System Settings > Control Center > Focus

Option Module: home-manager

Option Path: applications.systemSettings.controlCenter.focusModes

Option Value Description: null or one of "active", "always", "never", "unset"

active:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter Focus -int "24" 2>/dev/null || true

always:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter Focus -int "18" 2>/dev/null || true

never:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter Focus -int "24" 2>/dev/null || true

unset:

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

System Settings > Control Center > Hearing

Option Module: home-manager

Option Path: applications.systemSettings.controlCenter.hearing

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

showInControlCenter:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter Hearing -int "1" 2>/dev/null || true

showInMenuBar:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter Hearing -int "2" 2>/dev/null || true

unset:

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

System Settings > Control Center > Keyboard Brightness

Option Module: home-manager

Option Path: applications.systemSettings.controlCenter.keyboardBrightness

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

showInControlCenter:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter KeyboardBrightness -int "1" 2>/dev/null || true

showInMenuBar:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter KeyboardBrightness -int "2" 2>/dev/null || true

unset:

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

System Settings > Control Center > Music Recognition

Option Module: home-manager

Option Path: applications.systemSettings.controlCenter.musicRecognition

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

showInControlCenter:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter MusicRecognition -int "1" 2>/dev/null || true

showInMenuBar:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter MusicRecognition -int "2" 2>/dev/null || true

unset:

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

System Settings > Control Center > Now Playing

Option Module: home-manager

Option Path: applications.systemSettings.controlCenter.nowPlaying

Option Value Description: null or one of "active", "always", "never", "unset"

active:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter Now Playing -int "24" 2>/dev/null || true

always:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter Now Playing -int "18" 2>/dev/null || true

never:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter Now Playing -int "24" 2>/dev/null || true

unset:

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

System Settings > Control Center > Screen Mirroring

Option Module: home-manager

Option Path: applications.systemSettings.controlCenter.screenMirroring

Option Value Description: null or one of "active", "always", "never", "unset"

active:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter Screen Mirroring -int "24" 2>/dev/null || true

always:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter Screen Mirroring -int "18" 2>/dev/null || true

never:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter Screen Mirroring -int "24" 2>/dev/null || true

unset:

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

System Settings > Control Center > Sound

Option Module: home-manager

Option Path: applications.systemSettings.controlCenter.sound

Option Value Description: null or one of "active", "always", "never", "unset"

active:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter Sound -int "24" 2>/dev/null || true

always:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter Sound -int "18" 2>/dev/null || true

never:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter Sound -int "24" 2>/dev/null || true

unset:

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

System Settings > Control Center > Stage Manager

Option Module: home-manager

Option Path: applications.systemSettings.controlCenter.stageManager

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

false:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter Stage Manager -int "24" 2>/dev/null || true

true:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter Stage Manager -int "18" 2>/dev/null || true

unset:

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

System Settings > Control Center > WiFi

Option Module: home-manager

Option Path: applications.systemSettings.controlCenter.wifi

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

false:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter WiFi -int "24" 2>/dev/null || true

true:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter WiFi -int "18" 2>/dev/null || true

unset:

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