You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
920 B

---
- include_vars: defaults.yml
# - command: defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -int 1
# sudo: True
- command: defaults write {{ item }}
with_items: osx_defaults
# - command: defaults write {{ item }} dontAutoLoad -array
# /System/Library/CoreServices/Menu Extras/TimeMachine.menu
# /System/Library/CoreServices/Menu Extras/Bluetooth.menu
# /System/Library/CoreServices/Menu Extras/Battery.menu
# with_lines: ls ~/Library/Preferences/ByHost/com.apple.systemuiserver.*
- command: /usr/libexec/PlistBuddy -c "{{ item }}" ~/Library/Preferences/com.apple.finder.plist
with_items:
- Set :DesktopViewSettings:IconViewSettings:arrangeBy grid
- Set :FK_StandardViewSettings:IconViewSettings:arrangeBy grid
- Set :StandardViewSettings:IconViewSettings:arrangeBy grid
- command: killall {{ item }}
with_items:
- Finder
- Dock
- SystemUIServer