You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add app : defaults write com.apple.dock 'persistent-apps' -array-add "<dict><key>tile-data</key><dict><key>file-data</key><dict><key>_CFURLString</key><string>FULL APP PATH</string><key>_CFURLStringType</key><integer>0</integer></dict></dict></dict>"
Add folder : defaults write com.apple.dock 'persistent-others' -array-add '<dict><key>tile-data</key><dict><key>arrangement</key><integer>0</integer><key>displayas</key><integer>0</integer><key>file-data</key><dict><key>_CFURLString</key><string>FULL ITEM PATH</string><key>_CFURLStringType</key><integer>0</integer></dict><key>preferreditemsize</key><integer>-1</integer><key>showas</key><integer>0</integer></dict><key>tile-type</key><string>directory-tile</string></dict>'
Options for "displayas" are 0 for stack view or 1 for folder icon, options for "showas" are 0 for auto, 1 for fan view, 2 for grid view or 3 for list view.
The text was updated successfully, but these errors were encountered:
defaults
command existsFolder: Dock
Command: defaults write com.apple.dock 'persistent-apps' -array " "
Examples:
Remove all : defaults write com.apple.dock 'persistent-apps' -array " "
Add app :
defaults write com.apple.dock 'persistent-apps' -array-add "<dict><key>tile-data</key><dict><key>file-data</key><dict><key>_CFURLString</key><string>FULL APP PATH</string><key>_CFURLStringType</key><integer>0</integer></dict></dict></dict>"
Add folder :
defaults write com.apple.dock 'persistent-others' -array-add '<dict><key>tile-data</key><dict><key>arrangement</key><integer>0</integer><key>displayas</key><integer>0</integer><key>file-data</key><dict><key>_CFURLString</key><string>FULL ITEM PATH</string><key>_CFURLStringType</key><integer>0</integer></dict><key>preferreditemsize</key><integer>-1</integer><key>showas</key><integer>0</integer></dict><key>tile-type</key><string>directory-tile</string></dict>'
Options for "displayas" are 0 for stack view or 1 for folder icon, options for "showas" are 0 for auto, 1 for fan view, 2 for grid view or 3 for list view.
The text was updated successfully, but these errors were encountered: