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.

107 lines
2.6KB

  1. ---
  2. - name: xsession scripts
  3. template:
  4. src: xsession.sh.j2
  5. dest: "{{eralitex_directory}}/{{item}}/xsession"
  6. mode: 0755
  7. with_items: "{{ eralitex_profiles }}"
  8. - name: session reload scripts
  9. template:
  10. src: reload.sh.j2
  11. dest: "{{eralitex_directory}}/{{item}}/reload"
  12. mode: 0755
  13. with_items: "{{ eralitex_profiles }}"
  14. - name: rofi themes
  15. template:
  16. src: rofi.theme.j2
  17. dest: "{{eralitex_directory}}/{{item}}/rofi.theme"
  18. mode: 0755
  19. with_items: "{{ eralitex_profiles }}"
  20. - name: Xmodmap
  21. template:
  22. src: Xmodmap.j2
  23. dest: "{{eralitex_directory}}/Xmodmap"
  24. - name: urxvt Xresources system config
  25. template:
  26. src: urxvt.Xresources.j2
  27. dest: "{{eralitex_directory}}/urxvt.Xresources"
  28. - name: eralitex bin directory
  29. copy:
  30. src: bin/
  31. dest: "{{eralitex_directory}}/bin/"
  32. mode: 0755
  33. - name: link selected profile as active
  34. file:
  35. dest: "{{eralitex_directory}}/active-profile"
  36. src: "{{eralitex_profile}}"
  37. state: link
  38. - name: link etx cli utility from users bin
  39. file:
  40. dest: ~/bin/etx
  41. src: "{{eralitex_directory}}/bin/etx"
  42. state: link
  43. - name: link selected profile as active
  44. file:
  45. dest: "{{eralitex_directory}}/active-profile"
  46. src: "{{eralitex_profile}}"
  47. state: link
  48. - name: background image directory
  49. file:
  50. path: "{{eralitex_directory}}/backgrounds"
  51. state: directory
  52. when: eralitex_background_image is defined
  53. - name: background image
  54. copy:
  55. src: "{{eralitex_background_image}}"
  56. dest: "{{eralitex_background_image_path}}"
  57. when: eralitex_background_image is defined
  58. - name: workspace-cmd directory
  59. file:
  60. path: "{{eralitex_directory}}/workspace-cmd"
  61. state: directory
  62. - name: other workspace focus script
  63. template:
  64. src: other-workspace-focus.fish.j2
  65. dest: ~/.eralitex/workspace-cmd/other-focus
  66. mode: 0755
  67. - name: remote workspace focus scripts
  68. template:
  69. src: remote-workspace-focus.fish.j2
  70. dest: ~/.eralitex/workspace-cmd/{{workspace}}.focus
  71. mode: 0755
  72. with_items: "{{workspaces|dict2items|json_query(\"[?value.type=='vdesk'].key\") }}"
  73. loop_control:
  74. loop_var: workspace
  75. when: home_remote_workspace_config
  76. - name: remote workspace space shortcut scripts
  77. template:
  78. src: remote-workspace-space.fish.j2
  79. dest: ~/.eralitex/workspace-cmd/{{workspace}}.space
  80. mode: 0755
  81. with_items: "{{workspaces|dict2items|json_query(\"[?value.type=='vdesk'||value.type=='tmux'].key\") }}"
  82. loop_control:
  83. loop_var: workspace
  84. when: home_remote_workspace_config
  85. - name: vnc options
  86. template:
  87. src: vnc-options.fish.j2
  88. dest: ~/.eralitex/workspace-cmd/vnc-options
  89. mode: 0755