MainspringGuides › Recent apps stack
macOS Guide

Add a Recent Apps Stack to the Mac Dock (Hidden Feature)

Updated July 2026 · 3 min read

The Dock has a secret tile type Apple never exposed in any settings pane: a recents stack that shows your recently used apps, documents, or servers as a live, auto-updating Dock folder. One Terminal command creates it, a right-click configures it, and dragging it off the Dock removes it — no harm done. It works on Ventura, Sonoma, and Sequoia.

Create the stack

Open Terminal (Applications → Utilities) and paste this as a single command:

# add a recents stack to the right side of the Dock
defaults write com.apple.dock persistent-others -array-add '{"tile-data" = {"list-type" = 1;}; "tile-type" = "recents-tile";}'
killall Dock

When the Dock returns, look at its right section, near the Trash: a new stack shows your Recent Applications, most recent first. Click it and it fans or grids open like any stack; click an app inside to launch it.

Switch what it tracks

Right-click the new stack and pick from five list types:

The same right-click menu offers fan, grid, list, or automatic views — grid is the practical choice once the list grows past a handful of items.

Run it again for more stacks

Each run of the command adds one more recents tile, and each tile keeps its own list type. A popular combo is two stacks side by side: one set to Recent Applications, one to Recent Documents — your last dozen work items, permanently one click away, maintained by no one. The stacks update in real time as you open things.

Remove a stack

Exactly like any Dock folder: drag it out of the Dock until Remove appears and let go. That's the complete, clean undo — the tile is just an entry in the Dock's persistent-others list, so removing it deletes the entry and touches nothing else. (A Dock preferences reset would also clear it, along with everything else.)

Two details worth knowing

If no stack appeared

The command is quote-sensitive — it must reach the Dock as one piece. Paste it as a single line, straight quotes and all (retype the quotes if your notes app curled them into “smart” quotes, which break the syntax). Then confirm the tile was actually written:

# look for a recents-tile entry in the Dock's config
defaults read com.apple.dock persistent-others | grep recents-tile

If grep prints a match but you see no stack, run killall Dock again — the Dock only reads its preferences at launch. If there's no match, the write didn't take; re-paste the command from this page.

Hidden Dock tiles, one click

The recents stack is peak hidden-macOS: powerful, shipped, unexposed. Mainspring surfaces 90+ settings like it as labelled toggles — try one, keep it or revert in a click.

Try Mainspring free →

Signed & notarized by Apple · 1-day free trial · $29 once

Tune how your stacks open

Fan looks great but fits few items; grid navigates subfolders. See how to change Dock stack view — fan, grid, or list to set each stack up right.