Start

macOS 无需软件缩小托盘图标间隔

macOS

来自 V2EX

# 指定间距
defaults -currentHost write -globalDomain NSStatusItemSpacing -int 10
# 指定内边距
defaults -currentHost write -globalDomain NSStatusItemSelectionPadding -int 6
# 当前间距查询(未设置时会报错不存在)
defaults -currentHost read -globalDomain NSStatusItemSpacing
defaults -currentHost read -globalDomain NSStatusItemSelectionPadding
# 重置
defaults -currentHost delete -globalDomain NSStatusItemSpacing
defaults -currentHost delete -globalDomain NSStatusItemSelectionPadding