workstation/roles/home-gui/tasks/mate.yml

17 lines
675 B
YAML

---
- name: Create MATE layouts directory
ansible.builtin.file:
path: "{{ ansible_env.HOME }}/.local/share/mate-panel/layouts"
state: directory
- name: Copy MATE panel layout
ansible.builtin.template:
src: mate-acp.layout
dest: "{{ ansible_env.HOME }}/.local/share/mate-panel/layouts/acp.layout"
vars:
prefix: "{{ '/usr' if ansible_system == 'Linux' else '/usr/pkg' if ansible_system == 'NetBSD' else '/usr/local' }}"
esr: "{{ '-esr' if ansible_distribution == 'Debian' else '' }}"
- name: Copy MATE Clock reset script
ansible.builtin.copy:
src: reset-mate-clock.sh
dest: "{{ ansible_env.HOME }}/bin/reset-mate-clock"
mode: '0755'