---
- name: Install i3wm
  apt:
    name: i3-wm
  become: yes

- name: Install i3blocks
  apt:
    name: i3blocks
  become: yes

- name: Install desktop enviroment extras
  apt:
    name: "{{ item }}"
  become: yes
  with_items:
    - xautolock
    - feh
    - pavucontrol
    - moka-icon-theme
    - vinagre
    - rofi
    - arc-theme
    - lxappearance

  #- name: Copy Gnome session file
  #  copy:
  #    src: files/gnome-i3.session
  #    dest: /usr/share/gnome-session/sessions/
  #  become: yes
  #
  #- name: Copy i3 Gnome X session file
  #  copy:
  #    src: files/gnome-i3.desktop
  #    dest: /usr/share/xsessions/
  #  become: yes

---
- name: Install i3wm
  apt:
    name: i3
  become: yes

- name: Install i3blocks
  apt:
    name: i3blocks
  become: yes

- name: Install desktop enviroment extras
  apt:
    name: "{{ item }}"
  become: yes
  with_items:
    - xautolock
    - feh
    - pavucontrol
    - moka-icon-theme
    - vinagre
    - rofi
    - arc-theme
    - lxappearance

  #- name: Copy Gnome session file
  #  copy:
  #    src: files/gnome-i3.session
  #    dest: /usr/share/gnome-session/sessions/
  #  become: yes
  #
  #- name: Copy i3 Gnome X session file
  #  copy:
  #    src: files/gnome-i3.desktop
  #    dest: /usr/share/xsessions/
  #  become: yes

Revert to i3 the real metapakage
Revert to i3 the real metapakage
