2019-10-03 10:50:19 +00:00
|
|
|
---
|
|
|
|
- name: Copy MATE panel layout
|
|
|
|
become: true
|
2019-10-13 21:46:15 +00:00
|
|
|
template:
|
2019-10-03 10:50:19 +00:00
|
|
|
src: mate-acp.layout
|
2019-10-10 18:45:35 +00:00
|
|
|
dest: "{{ prefix }}/share/mate-panel/layouts/acp.layout"
|
|
|
|
vars:
|
2019-11-28 16:23:19 +00:00
|
|
|
prefix: "{{ '/usr' if ansible_system == 'Linux' else '/usr/pkg' if ansible_system == 'NetBSD' else '/usr/local' }}"
|
2019-10-04 13:02:17 +00:00
|
|
|
- name: Set default panel layout
|
|
|
|
dconf:
|
|
|
|
key: /org/mate/panel/general/default-layout
|
|
|
|
value: "'acp'"
|
|
|
|
register: layout_changed
|
|
|
|
- name: Reset panel
|
|
|
|
command: mate-panel --reset || true
|
2019-11-20 12:33:28 +00:00
|
|
|
when: layout_changed.changed
|
2019-10-12 09:49:20 +00:00
|
|
|
ignore_errors: yes
|
2019-10-04 13:02:17 +00:00
|
|
|
changed_when: false
|
|
|
|
- name: Add cities to clock applet
|
|
|
|
dconf:
|
|
|
|
key: /org/mate/panel/objects/clock/prefs/cities
|
2019-11-12 08:48:47 +00:00
|
|
|
value: ['<location name="" city="Luton" timezone="Europe/London" latitude="51.866669" longitude="-0.366667" code="EGGW" current="true"/>', '<location name="" city="San Francisco" timezone="America/Los_Angeles" latitude="37.619720" longitude="-122.364723" code="KSFO" current="false"/>', '<location name="UTC" city="" timezone="GMT" latitude="-0.000000" longitude="-0.000000" code="-" current="false"/>', '<location name="" city="Halifax" timezone="America/Halifax" latitude="44.883331" longitude="-63.500000" code="CYHZ" current="false"/>']
|
2019-10-04 13:02:17 +00:00
|
|
|
- name: Set workspace switcher to two rows
|
|
|
|
dconf:
|
|
|
|
key: /org/mate/panel/objects/workspace-switcher/prefs/num-rows
|
|
|
|
value: 2
|
|
|
|
- name: Expand locations in clock
|
|
|
|
dconf:
|
|
|
|
key: /org/mate/panel/objects/clock/prefs/expand-locations
|
|
|
|
value: 'true'
|