dotfiles/tasks/gnome.yml

93 lines
2 KiB
YAML
Raw Normal View History

2019-05-25 16:50:09 +01:00
- name: "Add nautilus file templates"
copy:
2018-09-10 09:27:49 +01:00
src: ./files/Templates
2019-07-30 08:49:17 +01:00
dest: "{{ home }}"
mode: 0644
2018-09-17 17:22:15 +01:00
owner: "{{ user }}"
2018-09-10 09:27:49 +01:00
group: users
2019-07-30 08:49:17 +01:00
directory_mode: 0755
2019-05-27 21:30:43 +01:00
- 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:
2019-05-27 22:36:37 +01:00
- baobab
2019-05-27 21:30:43 +01:00
- cheese
2019-05-27 22:36:37 +01:00
- eog
2019-05-27 21:30:43 +01:00
- evince
2019-05-27 22:36:37 +01:00
- file-roller
- fractal
- gnome-calculator
- gnome-disk-utility
- gnome-latex
- gnome-settings-daemon
2019-05-27 22:36:37 +01:00
- gnome-system-monitor
- gnome-usage
2019-05-27 21:30:43 +01:00
- 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 }}"
- name: "Install GTK2 config"
copy:
src: './files/gtkrc-2.0'
dest: '{{ home }}/.gtkrc-2.0'
mode: 0644
owner: "{{ user }}"
- name: "Install GTK3 config"
copy:
src: './files/gtk3-settings.ini'
dest: '{{ home }}/.config/gtk-3.0/settings.ini'
mode: 0644
owner: "{{ user }}"
- name: "Autostart gnome-settings services"
file:
src: "/etc/xdg/autostart/{{ item }}.desktop"
dest: "{{ home }}/.config/autostart/{{ item }}.desktop"
mode: 0644
owner: "{{ user }}"
state: link
force: true
with_items:
- 'org.gnome.SettingsDaemon.XSettings'
- 'org.gnome.SettingsDaemon.DiskUtilityNotify'
- 'org.gnome.SettingsDaemon.Keyboard'
- 'gsettings-data-convert'