mirror of
https://github.com/geerlingguy/mac-dev-playbook
synced 2024-11-21 19:33:03 +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
|
- name: mkdocs
|
||||||
|
|
||||||
configure_dock: true
|
configure_dock: true
|
||||||
dockitems_remove: []
|
dockitems_remove:
|
||||||
dockitems_persist: []
|
- 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.
|
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: []
|
dockitems_persist: []
|
||||||
# - name: "Sublime Text"
|
# - name: "Sublime Text"
|
||||||
# path: "/Applications/Sublime Text.app/"
|
# path: "/Applications/Sublime Text.app/"
|
||||||
|
# pos: 5
|
||||||
|
|
||||||
configure_sudoers: false
|
configure_sudoers: false
|
||||||
sudoers_custom_config: ''
|
sudoers_custom_config: ''
|
||||||
|
|
|
@ -19,5 +19,5 @@
|
||||||
cmd: dockutil --move '{{ item.name }}' --position '{{ item.pos }}'
|
cmd: dockutil --move '{{ item.name }}' --position '{{ item.pos }}'
|
||||||
when:
|
when:
|
||||||
- item.pos is defined
|
- item.pos is defined
|
||||||
- item.pos length >0
|
- item.pos > 0
|
||||||
loop: "{{ dockitems_persist }}"
|
loop: "{{ dockitems_persist }}"
|
||||||
|
|
Loading…
Reference in a new issue