Skip to content

Instantly share code, notes, and snippets.

@RobertAudi
Created July 23, 2010 08:04
Show Gist options
  • Save RobertAudi/487163 to your computer and use it in GitHub Desktop.
Save RobertAudi/487163 to your computer and use it in GitHub Desktop.
Recent Items Stack
defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'
@1stvamp
Copy link

1stvamp commented Jul 23, 2010

You would probably want to do something like this afterwards to restart the Dock too:

ps x -o "pid= command="|fgrep "MacOS/Dock"|head -1|awk '{print $1}'|xargs kill -HUP

@RobertAudi
Copy link
Author

Actually all you need to do is:

killall Dock

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment