--- - name: xsession scripts template: src: xsession.sh.j2 dest: "{{eralitex_directory}}/{{item}}/xsession" mode: 0755 with_items: "{{ eralitex_profiles }}" - name: session reload scripts template: src: reload.sh.j2 dest: "{{eralitex_directory}}/{{item}}/reload" mode: 0755 with_items: "{{ eralitex_profiles }}" - name: rofi themes template: src: rofi.theme.j2 dest: "{{eralitex_directory}}/{{item}}/rofi.theme" mode: 0755 with_items: "{{ eralitex_profiles }}" - name: Xmodmap template: src: Xmodmap.j2 dest: "{{eralitex_directory}}/Xmodmap" - name: urxvt Xresources system config template: src: urxvt.Xresources.j2 dest: "{{eralitex_directory}}/urxvt.Xresources" - name: eralitex bin directory copy: src: bin/ dest: "{{eralitex_directory}}/bin/" mode: 0755 - name: link selected profile as active file: dest: "{{eralitex_directory}}/active-profile" src: "{{eralitex_profile}}" state: link - name: link etx cli utility from users bin file: dest: ~/bin/etx src: "{{eralitex_directory}}/bin/etx" state: link - name: link selected profile as active file: dest: "{{eralitex_directory}}/active-profile" src: "{{eralitex_profile}}" state: link - name: background image directory file: path: "{{eralitex_directory}}/backgrounds" state: directory when: eralitex_background_image is defined - name: background image copy: src: "{{eralitex_background_image}}" dest: "{{eralitex_background_image_path}}" when: eralitex_background_image is defined - name: workspace-cmd directory file: path: "{{eralitex_directory}}/workspace-cmd" state: directory - name: other workspace focus script template: src: other-workspace-focus.fish.j2 dest: ~/.eralitex/workspace-cmd/other-focus mode: 0755 - name: remote workspace focus scripts template: src: remote-workspace-focus.fish.j2 dest: ~/.eralitex/workspace-cmd/{{workspace}}.focus mode: 0755 with_items: "{{workspaces|dict2items|json_query(\"[?value.type=='vdesk'].key\") }}" loop_control: loop_var: workspace when: home_remote_workspace_config - name: remote workspace space shortcut scripts template: src: remote-workspace-space.fish.j2 dest: ~/.eralitex/workspace-cmd/{{workspace}}.space mode: 0755 with_items: "{{workspaces|dict2items|json_query(\"[?value.type=='vdesk'||value.type=='tmux'].key\") }}" loop_control: loop_var: workspace when: home_remote_workspace_config - name: vnc options template: src: vnc-options.fish.j2 dest: ~/.eralitex/workspace-cmd/vnc-options mode: 0755