- name: Install xmonad
  apt:
    name:
    - libghc-xmonad-contrib-dev
    - libghc-xmonad-contrib-doc
    - libghc-xmonad-dev
    - libghc-xmonad-doc
    - suckless-tools
    - xmonad
  become: true
- name: make directory for config
  file: path="~/.xmonad" state=directory
- name: copy xmonad config
  copy: src=xmonad.hs dest=~/.xmonad/xmonad.hs
- name: reset xmonad
  shell: "xmonad --recompile"
- name: set window manager
  dconf:
    key: "/org/mate/desktop/session/required-components/windowmanager"
    value: "'xmonad'"
    state: present

- name: Install xmonad
  apt:
    name:
    - libghc-xmonad-contrib-dev
    - libghc-xmonad-contrib-doc
    - libghc-xmonad-dev
    - libghc-xmonad-doc
    - suckless-tools
    - xmonad
  become: true
- name: make directory for config
  file: path="~/.xmonad" state=directory
- name: copy xmonad config
  copy: src=xmonad.hs dest=~/.xmonad/xmonad.hs
- name: reset xmonad
  shell: "xmonad --recompile"
- name: set window manager
  dconf:
    key: /org/mate/desktop/session/required-components/windowmanager
    value: "'xmonad'"
    state: present
- name: remove super key mappings
  dconf:
    key: /org/mate/mate-menu/hot-key
    value: "''"
    state: present
  dconf:
    key: /com/solus-project/brisk-menu/hot-key
    value: "''"
    state: present

Remove menu hotkey mappings for super key
Remove menu hotkey mappings for super key
