From c9e53d224f1b2cd277d59b8b4b048c78a4039814 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Fri, 4 Oct 2019 14:02:17 +0100 Subject: [PATCH] Add MATE settings --- roles/home/tasks/mate.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/roles/home/tasks/mate.yml b/roles/home/tasks/mate.yml index 3b431b3..b91aafe 100644 --- a/roles/home/tasks/mate.yml +++ b/roles/home/tasks/mate.yml @@ -4,3 +4,25 @@ copy: src: mate-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: ['', '', '', ''] +- 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'