mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 07:06:40 +00:00
Add some more macOS specific setup via Ansible playbooks
This commit is contained in:
@@ -8,3 +8,9 @@
|
|||||||
type: string
|
type: string
|
||||||
value: '-l -W --kw-case=none'
|
value: '-l -W --kw-case=none'
|
||||||
state: present
|
state: present
|
||||||
|
- name: "Safari: Enable Debug menu"
|
||||||
|
osx_defaults:
|
||||||
|
domain: com.apple.Safari
|
||||||
|
key: IncludeInternalDebugMenu
|
||||||
|
type: integer
|
||||||
|
value: 1
|
||||||
|
|||||||
41
playbooks/macos_dock.yml
Normal file
41
playbooks/macos_dock.yml
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
---
|
||||||
|
- hosts: localhost
|
||||||
|
tasks:
|
||||||
|
- name: "Dock: Set icon size"
|
||||||
|
osx_defaults:
|
||||||
|
domain: com.apple.dock
|
||||||
|
key: tilesize
|
||||||
|
type: float
|
||||||
|
value: 55
|
||||||
|
notify: restart Dock
|
||||||
|
- name: "Dock: Enable magnification"
|
||||||
|
osx_defaults:
|
||||||
|
domain: com.apple.dock
|
||||||
|
key: magnification
|
||||||
|
type: boolean
|
||||||
|
value: true
|
||||||
|
notify: restart Dock
|
||||||
|
- name: "Dock: Set magnified icon size"
|
||||||
|
osx_defaults:
|
||||||
|
domain: com.apple.dock
|
||||||
|
key: largesize
|
||||||
|
type: float
|
||||||
|
value: 70
|
||||||
|
notify: restart Dock
|
||||||
|
- name: "Dock: Do not show recent apps"
|
||||||
|
osx_defaults:
|
||||||
|
domain: com.apple.dock
|
||||||
|
key: show-recents
|
||||||
|
type: boolean
|
||||||
|
value: false
|
||||||
|
notify: restart Dock
|
||||||
|
- name: "Dock: Do not auto-hide"
|
||||||
|
osx_defaults:
|
||||||
|
domain: com.apple.dock
|
||||||
|
key: autohide
|
||||||
|
type: boolean
|
||||||
|
value: false
|
||||||
|
notify: restart Dock
|
||||||
|
handlers:
|
||||||
|
- name: restart Dock
|
||||||
|
command: killall Dock
|
||||||
Reference in New Issue
Block a user