macos-defaults icon indicating copy to clipboard operation
macos-defaults copied to clipboard

Add various defaults

Open apexskier opened this issue 3 years ago • 5 comments

I just found this site/repo and it's exactly what I was looking for. I normally manually hunt for defaults or use https://www.defaults-write.com (which is not really organized in a useful manner), and this looks like exactly the setup I've wanted.

I have my own system for managing defaults across multiple computers and have a pretty extensive collection I'd like to start contributing to this repository. This PR kicks things off with a number of global apple configurations, many of which come from the system preferences.

Edit: I've now added quite a bit more, and will probably keep doing so until https://github.com/yannbertrand/macos-defaults/pull/150 and https://github.com/yannbertrand/macos-defaults/pull/151 are in.

apexskier avatar Apr 03 '21 09:04 apexskier

What do you think about a "Global" category?

yannbertrand avatar Apr 04 '21 11:04 yannbertrand

I think global for NSGlobalDomain would make sense.

I'd personally get rid of the "custom" categories and make it all based on the domain (pull the domain key up from the keys list into the category item in the yaml file). That would enforce an organization scheme that contributors wouldn't have to make decisions about, at the expense of a little less customization. It would also get rid of the Miscellaneous section.

I think everything's currently organized by domain except com.apple.dock is split into "Dock", "Mission Control", and "Miscellaneous", there are several NSGlobalDomain items in the finder section, and "Menu Bar" would be "Menu Bar Clock".

apexskier avatar Apr 04 '21 13:04 apexskier

Here's an example of that organization - https://github.com/apexskier/macos-defaults/compare/markdown-support...apexskier:domain-organization

apexskier avatar Apr 04 '21 14:04 apexskier

I prefer to keep the categories as is, which is easier to understand from a non-dev/end user perspective

yannbertrand avatar Apr 05 '21 18:04 yannbertrand

Is the PR still a Draft? Let me know if I can review it 🙂

yannbertrand avatar Apr 15 '21 17:04 yannbertrand