add srandrd for automagic monitor detection

This commit is contained in:
Pig Monkey 2015-10-18 16:46:55 -07:00
parent a1dc81be40
commit 62b51aca09
2 changed files with 17 additions and 0 deletions

View file

@ -20,4 +20,5 @@
- include: unclutter.yml
- include: volwheel.yml
- include: autorandr.yml
- include: srandrd.yml
- include: termite.yml

16
roles/x/tasks/srandrd.yml Normal file
View file

@ -0,0 +1,16 @@
---
- name: Download srandrd
command: cower -dq srandrd
chdir=/home/{{ user.name }}/{{ aur.dir }}
creates=/home/{{ user.name }}/{{ aur.dir }}/srandrd
tags:
- aur
become: yes
become_user: "{{ user.name }}"
- name: Build and install srandrd
command: "{{ aur.makepkg }} chdir=/home/{{ user.name }}/{{ aur.dir }}/srandrd"
tags:
- aur
become: yes
become_user: "{{ user.name }}"