---
title: "在 macOS 的 Dock 加入空白間隔來為應用程式分組"
description: "打開 term（或同類終端機）並貼上以下這行指令："
canonical: https://oozou.com/til/add-spacers-to-your-macos-app-dock-to-make-groups-27
locale: zh-Hant
date: 2020-10-13
topic: macos
---

# 在 macOS 的 Dock 加入空白間隔來為應用程式分組

> 打開 term（或同類終端機）並貼上以下這行指令：

Published: 2020-10-13 · Topic: [macos](https://oozou.com/zh-Hant/til-topics/macos) ([markdown](https://oozou.com/zh-Hant/til-topics/macos.md))

打開 *term*（或同類終端機）並貼上以下這行指令：

```
defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'; killall Dock
```

Dock 重新啟動後，會出現一個可以拖曳的*空白*間隔，你可以把它移到任何位置。想加幾個就重複執行幾次。

---

Contact OOZOU: hello@oozou.com · +66 2544 0000 · https://oozou.com/zh-Hant/contact

More for AI agents: https://oozou.com/llms.txt · every page has a markdown twin at its URL plus ".md"
