#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
---
- name: assure xorg.conf.d
  file: path=/etc/X11/xorg.conf.d state=directory mode=0755
- name: configure X misc
  template: src={{ item }} dest=/etc/X11/xorg.conf.d/{{ item }} mode=0644
  loop:
      # Disables mouse acceleration on all mouse peripherals
    - 90-mouse-acceleration.conf
      # Enables things like triple-tapping, etc. on touchpads
    - 90-touchpad.conf
- name: configure packages
  include_tasks: packages.yml
- name: configure plymouth
  alternatives: name=default.plymouth path=/usr/share/plymouth/themes/bgrt/bgrt.plymouth
  notify: regen initramfs
  when: ansible_os_family != "Gentoo"