How to add a "recent or favorite items stack to MacBook dock"
In Mojave I could copy and paste this terminal command to add a recent or favorite items stack to the dock. The code and instructions were posted on macrumors April 2, 2018.
- Copy the following command text and paste it into Terminal at the prompt, then press Enter: defaults write com.apple.dock persistent-others -array-add '{"tile-data" = {"list-type" = 1;}; "tile-type" = "recents-tile";}'; killall Dock
The output looks like this
Does anyone know if this works for Sonoma?
MacBook Air 13″, macOS 14.7