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.

35 line
805B

  1. ---
  2. - name: workspace app service
  3. template:
  4. src: workspaces/workspace-app.service.j2
  5. dest: ~/.config/systemd/user/workspace-app@.service
  6. mode: 0755
  7. notify: systemd daemon-reload
  8. - name: workspaces directory
  9. file:
  10. path: ~/.workspaces
  11. state: directory
  12. - name: workspace focus scripts
  13. template:
  14. src: workspaces/workspace.focus.fish.j2
  15. dest: ~/.workspaces/{{workspace}}.focus
  16. mode: 0755
  17. with_items: "{{ workspaces }}"
  18. loop_control:
  19. loop_var: workspace
  20. - name: workspace space shortcut scripts
  21. template:
  22. src: workspaces/workspace.space.fish.j2
  23. dest: ~/.workspaces/{{workspace}}.space
  24. mode: 0755
  25. with_items: "{{ workspaces }}"
  26. loop_control:
  27. loop_var: workspace
  28. when:
  29. - workspaces[workspace]
  30. - '"type" in workspaces[workspace]'