您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。

32 行
806B

  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|dict2items|json_query(\"[?value.type=='vncviewer'||value.type=='tmux'].key\") }}"
  26. loop_control:
  27. loop_var: workspace