fix dock apps
This commit is contained in:
parent
2c5f6ee903
commit
f862c981f7
|
@ -23,6 +23,9 @@
|
|||
value: false
|
||||
state: present
|
||||
|
||||
- name: Setup dock apps
|
||||
community.general.osx_defaults:
|
||||
|
||||
- name: Remove all apps from dock
|
||||
community.general.osx_defaults:
|
||||
domain: com.apple.dock
|
||||
|
@ -31,13 +34,13 @@
|
|||
value: []
|
||||
state: present
|
||||
|
||||
|
||||
- name: Add apps to dock
|
||||
- name: Dock apps
|
||||
community.general.osx_defaults:
|
||||
domain: com.apple.dock
|
||||
key: persistent-apps
|
||||
type: array-add
|
||||
value: "'<dict><key>tile-data</key><dict><key>file-data</key><dict><key>_CFURLString</key><string>'{{ item }}'</string><key>_CFURLStringType</key><integer>0</integer></dict></dict></dict>'"
|
||||
type: array
|
||||
array_add: true
|
||||
value: ['{{ item }}']
|
||||
state: present
|
||||
with_items: "{{ macos.dock_apps }}"
|
||||
|
||||
|
@ -65,7 +68,7 @@
|
|||
value: true
|
||||
state: present
|
||||
|
||||
- name: Set preferred view style to "Nlsv"
|
||||
- name: Set preferred view style to list view ("Nlsv")
|
||||
community.general.osx_defaults:
|
||||
domain: com.apple.finder
|
||||
key: FXPreferredViewStyle
|
||||
|
|
Loading…
Reference in New Issue
Block a user