customize-xfce-anisble/playbook/roles/role-one/tasks/picom-compositor.yml

47 lines
1.1 KiB
YAML
Raw Normal View History

2022-03-11 08:59:12 +00:00
---
- name: Picom | Install dependencies
2022-03-21 13:15:40 +00:00
become: yes
2022-03-11 08:59:12 +00:00
apt:
name: "{{ picom_dependency }}"
state: present
- name: Picom | Clone picom repository
git:
repo: "{{ picom_git }}"
dest: /tmp/picom
recursive: yes
- name: Picom | Build and Install picom
2022-03-21 13:15:40 +00:00
become: yes
2022-03-11 08:59:12 +00:00
shell: "cd /tmp/picom && meson --buildtype=release . build && ninja -C build && sudo ninja -C build install"
2022-03-24 05:33:54 +00:00
- name: Picom | Make sure picom directory exists
file:
path: "{{ home_directory }}/.config/picom"
state: directory
2022-03-11 08:59:12 +00:00
- name: Picom | Copy picom config
copy:
2022-03-24 05:33:54 +00:00
src: picom.conf
dest: "{{ home_directory }}/.config/picom/"
- name: Picom | Copy picom desktop file
copy:
src: "{{ home_directory }}/Downloads/update-xfce-bigsur/picom/picom.desktop"
dest: "{{ home_directory }}/.config/picom/picom.desktop"
2022-03-11 08:59:12 +00:00
remote_src: yes
- name: Picom | Add picom to startup
copy:
src: "{{ home_directory }}/.config/picom/picom.desktop"
dest: "{{ home_directory }}/.config/autostart/"
2022-03-11 08:59:12 +00:00
remote_src: yes
- name: Picom | Disable compositing
xfconf:
channel: xfwm4
property: /general/use_compositing
value_type: bool
value: "false"