mirror of
https://github.com/geerlingguy/mac-dev-playbook
synced 2024-11-24 21:03:26 +00:00
Fixes #114: Make ensure correct Dock order task work correctly.
This commit is contained in:
parent
2cfbd1289a
commit
0bae73dcc4
3 changed files with 9 additions and 3 deletions
|
@ -83,8 +83,13 @@ You can override any of the defaults configured in `default.config.yml` by creat
|
|||
- name: mkdocs
|
||||
|
||||
configure_dock: true
|
||||
dockitems_remove: []
|
||||
dockitems_persist: []
|
||||
dockitems_remove:
|
||||
- Launchpad
|
||||
- TV
|
||||
dockitems_persist:
|
||||
- name: "Sublime Text"
|
||||
path: "/Applications/Sublime Text.app/"
|
||||
pos: 5
|
||||
|
||||
Any variable can be overridden in `config.yml`; see the supporting roles' documentation for a complete list of available variables.
|
||||
|
||||
|
|
|
@ -15,6 +15,7 @@ dockitems_remove: []
|
|||
dockitems_persist: []
|
||||
# - name: "Sublime Text"
|
||||
# path: "/Applications/Sublime Text.app/"
|
||||
# pos: 5
|
||||
|
||||
configure_sudoers: false
|
||||
sudoers_custom_config: ''
|
||||
|
|
|
@ -19,5 +19,5 @@
|
|||
cmd: dockutil --move '{{ item.name }}' --position '{{ item.pos }}'
|
||||
when:
|
||||
- item.pos is defined
|
||||
- item.pos length >0
|
||||
- item.pos > 0
|
||||
loop: "{{ dockitems_persist }}"
|
||||
|
|
Loading…
Reference in a new issue