From 9f5db57de33e726eb30da5ffd903abe4c8bdfc0c Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 27 May 2019 21:30:43 +0100 Subject: [PATCH] Add Gnome packages and GTK things --- tasks/gnome.yml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ tasks/i3.yml | 16 ---------------- 2 files changed, 46 insertions(+), 16 deletions(-) diff --git a/tasks/gnome.yml b/tasks/gnome.yml index 6295a19..cee4d97 100644 --- a/tasks/gnome.yml +++ b/tasks/gnome.yml @@ -6,3 +6,49 @@ owner: "{{ user }}" group: users directory_mode: true + +- name: "Install Gnome packages" + aur: + skip_installed: true + name: "{{ item }}" + become: true + become_user: aur_builder + when: "item not in installed_packages.stdout_lines" + with_items: + - cheese + - evince + - nautilus + +- name: "Install GTK tools" + aur: + skip_installed: true + name: "{{ item }}" + become: true + become_user: aur_builder + when: "item not in installed_packages.stdout_lines" + with_items: + - 'lxappearance' + - 'numix-gtk-theme' + - 'numix-square-icon-theme' + - 'qt5-styleplugins' + + +- name: Patch out terrible looking QT + patch: + src: './files/xsession.patch' + dest: '/etc/lightdm/Xsession' + when: antergos + +- name: Set GTK theme + dconf: + key: "/org/gnome/desktop/interface/gtk-theme" + value: '"Numix"' + become: true + become_user: "{{ user }}" + +- name: Set GTK icon theme + dconf: + key: "/org/gnome/desktop/interface/icon-theme" + value: '"Numix-Square"' + become: true + become_user: "{{ user }}" diff --git a/tasks/i3.yml b/tasks/i3.yml index 82fec6d..bc079ae 100644 --- a/tasks/i3.yml +++ b/tasks/i3.yml @@ -16,12 +16,9 @@ - 'flameshot' - 'i3-gaps' - 'i3lock-color' - - 'lxappearance' - 'lxrandr' - 'lxqt-policykit' - - 'numix-gtk-theme' - 'aur/polybar' - - 'qt5-styleplugins' - 'redshift' - 'rofi' - 'tbg' @@ -98,16 +95,3 @@ dest: /usr/bin/pranklock mode: 0755 force: true - -- name: Patch out terrible looking QT - patch: - src: './files/xsession.patch' - dest: '/etc/lightdm/Xsession' - when: antergos - -- name: Set GTK theme - dconf: - key: "/org/gnome/desktop/interface/gtk-theme" - value: '"Numix"' - become: true - become_user: "{{ user }}"