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