Explorar el Código

spit i3 config

systemd-xsession
padre
commit
509c5697b7
Se han modificado 4 ficheros con 23 adiciones y 18 borrados
  1. +1
    -0
      tasks/clean.yaml
  2. +0
    -18
      tasks/eralitex.yaml
  3. +18
    -0
      tasks/i3.yaml
  4. +4
    -0
      tasks/main.yaml

+ 1
- 0
tasks/clean.yaml Ver fichero

@@ -0,0 +1 @@
---

+ 0
- 18
tasks/eralitex.yaml Ver fichero

@@ -11,23 +11,6 @@
state: directory
with_items: "{{ eralitex_profiles }}"

- name: i3 config
template:
src: i3.config.j2
dest: "{{eralitex_directory}}/{{item}}/i3.config"
with_items: "{{ eralitex_profiles }}"

- name: check i3 config
command: i3 -c {{eralitex_directory}}/{{item}}/i3.config -C
with_items: "{{ eralitex_profiles }}"
changed_when: false

- name: i3blocks config
template:
src: i3blocks.config.j2
dest: "{{eralitex_directory}}/{{item}}/i3blocks.config"
with_items: "{{ eralitex_profiles }}"

- name: xsession scripts
template:
src: xsession.sh.j2
@@ -84,7 +67,6 @@
src: "{{eralitex_profile}}"
state: link


- name: background image directory
file:
path: "{{eralitex_directory}}/backgrounds"


+ 18
- 0
tasks/i3.yaml Ver fichero

@@ -0,0 +1,18 @@
---

- name: i3 config
template:
src: i3.config.j2
dest: "{{eralitex_directory}}/{{item}}/i3.config"
with_items: "{{ eralitex_profiles }}"

- name: check i3 config
command: i3 -c {{eralitex_directory}}/{{item}}/i3.config -C
with_items: "{{ eralitex_profiles }}"
changed_when: false

- name: i3blocks config
template:
src: i3blocks.config.j2
dest: "{{eralitex_directory}}/{{item}}/i3blocks.config"
with_items: "{{ eralitex_profiles }}"

+ 4
- 0
tasks/main.yaml Ver fichero

@@ -1,5 +1,7 @@
---

- import_tasks: clean.yaml

- import_tasks: structure.yaml
- import_tasks: ssh.yaml
- import_tasks: vnc.yaml
@@ -9,6 +11,8 @@

- import_tasks: points.yaml

- import_tasks: i3.yaml
when: home_desktop
- import_tasks: eralitex.yaml
when: home_desktop
- import_tasks: x11.yaml