machine_setup/ansible/roles/sway/tasks/linux.yaml

39 lines
787 B
YAML
Raw Normal View History

2023-02-02 04:14:20 +00:00
- name: Build aur packages
register: buildaur
become_user: "{{ build_user.name }}"
command: "aurutils-sync --no-view {{ item }}"
args:
creates: "/var/cache/pacman/custom/{{ item }}-*.pkg.tar.*"
loop:
2023-05-31 01:18:47 +00:00
- wlvncc-git
- wl-screenrec-git
2023-02-02 04:14:20 +00:00
- name: Update cache
when: buildaur.changed
pacman:
name: []
state: present
update_cache: true
- name: Install packages
package:
name:
- wev
- xorg-xauth
- xorg-xeyes
- xorg-xwayland
2023-03-25 13:06:54 +00:00
- rofimoji
2023-05-31 01:18:47 +00:00
- wlvncc-git
- wl-screenrec-git # screen recording
2023-02-02 04:14:20 +00:00
2022-10-17 22:23:37 +00:00
- name: Install scripts
copy:
src: "files/{{ item.src }}"
dest: "{{ item.dest }}"
mode: 0755
owner: root
group: wheel
loop:
- src: launch_sway_linux.bash
dest: /usr/local/bin/launch_sway