marpaia / babou

Lightweight OS X configuration management
43 stars 2 forks source link

When an state change occurs on com.apple.dock, execute killall Dock #1

Open marpaia opened 10 years ago

marpaia commented 10 years ago

or it's programatic equivalent. If multiple state changes occur to com.apple.dock, only one restart of Dock should occur.

timsutton commented 10 years ago

For what it's worth, I've seen people report that to get modifications to com.apple.dock to stick, it's necessary to actually first unload the dock LaunchAgent in /System/Library/LaunchAgents, do your defaults or CFPreferences, then load the LaunchAgent. I'm not sure if this was only in particular edge cases or a more general case, but thought I'd mention it as a data point.

marpaia commented 10 years ago

@timsutton thanks! I'll tackle this sometime this week so I'll follow up.