Add MATE settings

This commit is contained in:
Anthony Rose 2019-10-04 14:02:17 +01:00
parent 268a26d803
commit c9e53d224f

View file

@ -4,3 +4,25 @@
copy: copy:
src: mate-acp.layout src: mate-acp.layout
dest: /usr/share/mate-panel/layouts/acp.layout dest: /usr/share/mate-panel/layouts/acp.layout
- 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
when: layout_changed.changed
ignore_errors: yes
changed_when: false
- name: Add cities to clock applet
dconf:
key: /org/mate/panel/objects/clock/prefs/cities
value: ['<location name="" city="Luton" timezone="Europe/London" latitude="51.866669" longitude="-0.366667" code="EGGW" current="true"/>', '<location name="" city="Washington" timezone="America/New_York" latitude="38.848331" longitude="-77.034164" code="KDCA" current="false"/>', '<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"/>']
- 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'