diff --git a/roles/x/tasks/main.yml b/roles/x/tasks/main.yml index 99b7f99..88d6742 100644 --- a/roles/x/tasks/main.yml +++ b/roles/x/tasks/main.yml @@ -20,4 +20,5 @@ - include: unclutter.yml - include: volwheel.yml - include: autorandr.yml +- include: srandrd.yml - include: termite.yml diff --git a/roles/x/tasks/srandrd.yml b/roles/x/tasks/srandrd.yml new file mode 100644 index 0000000..9c941d2 --- /dev/null +++ b/roles/x/tasks/srandrd.yml @@ -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 }}"