From 18a8718b3350463471b9b5322ae6ea35e3c5410c Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Thu, 13 Jan 2022 06:29:07 +0100 Subject: [PATCH] Feat: gdm settings --- roles/workstation/defaults/main.yml | 15 +++------------ roles/workstation/tasks/gnome.yml | 4 +--- 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/roles/workstation/defaults/main.yml b/roles/workstation/defaults/main.yml index 960b037..a468db5 100644 --- a/roles/workstation/defaults/main.yml +++ b/roles/workstation/defaults/main.yml @@ -189,19 +189,10 @@ aur_pkgs: # Gnome gnome_environnement: false +gdm_settings: + - key: org.gnome.desktop.peripherals.touchpad tap-to-click + value: true -# gtk settings -gtk_settings: - - key: "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/command" - value: "'urxvt'" - - key: "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/name" - value: "'Terminal'" - - key: "/org/gnome/shell/extensions/user-theme/name" - value: "'Materia-dark-compact'" - - key: "/org/gnome/desktop/interface/gkt-theme" - value: "'Materia-dark-compact'" - - key: "/org/gnome/desktop/interface/icon-theme" - value: "'Tela-orange-dark'" # Autofs autofs: diff --git a/roles/workstation/tasks/gnome.yml b/roles/workstation/tasks/gnome.yml index 25b960a..b6157c1 100644 --- a/roles/workstation/tasks/gnome.yml +++ b/roles/workstation/tasks/gnome.yml @@ -12,9 +12,7 @@ key: "{{ item.key }}" value: "{{ item.value }}" state: present - with_items: - - key: org.gnome.desktop.peripherals.touchpad tap-to-click - value: true + with_items: "{{ gdm_settings }}" become: true become_user: gdm