You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

25 line
642B

  1. ---
  2. - name: workspaces directory
  3. file:
  4. path: ~/.workspaces
  5. state: directory
  6. - name: workspace focus scripts
  7. template:
  8. src: workspace.focus.fish.j2
  9. dest: ~/.workspaces/{{workspace}}.focus
  10. mode: 0755
  11. with_items: "{{workspaces|dict2items|json_query(\"[?value.type=='vdesk'].key\") }}"
  12. loop_control:
  13. loop_var: workspace
  14. - name: workspace space shortcut scripts
  15. template:
  16. src: workspace.space.fish.j2
  17. dest: ~/.workspaces/{{workspace}}.space
  18. mode: 0755
  19. with_items: "{{workspaces|dict2items|json_query(\"[?value.type=='vdesk'||value.type=='tmux'].key\") }}"
  20. loop_control:
  21. loop_var: workspace