# Title bar icons

Always show folder icon before title in the title bar

⚠️ This command requires to grant full disk access to the terminal (System Preferences → Security & Privacy → Full Disk Access)

  • Tested on macOS:
    • Monterey
  • Parameter type: bool

# Set to true

Show icon in the title bar

defaults write com.apple.universalaccess "showWindowTitlebarIcons" -bool "true" && killall Finder

Example output with value set to true

# Set to false (default value)

Hide icon from the title bar

defaults write com.apple.universalaccess "showWindowTitlebarIcons" -bool "false" && killall Finder

Example output with value set to false

# Read current value

defaults read com.apple.universalaccess "showWindowTitlebarIcons"

# Reset to default value

defaults delete com.apple.universalaccess "showWindowTitlebarIcons" && killall Finder