1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-23 07:21:58 +01:00
eoli3n-dotfiles/roles/gtk/tasks/main.yml

48 lines
824 B
YAML

---
- name: Create gtk conf dir
file:
path: ~/.config/gtk-3.0/
state: directory
- name: Configure GTK
copy:
src: settings.ini
dest: ~/.config/gtk-3.0/
backup: yes
- name: Configure Qt as GTK theme
copy:
src: Trolltech.conf
dest: ~/.config/
backup: yes
- name: Update font cache
shell: fc-cache -f
args:
creates: .Xdefaults
changed_when: false
- name: Link Xdefaults
file:
src: ~/.Xresources
dest: ~/.Xdefaults
state: link
force: yes
- name: Create .Xresources.d dir
file:
path: ~/.Xresources.d
state: directory
- name: Configure Cursors
copy:
src: cursor
dest: ~/.Xresources.d/
- name: Init Cursors in .Xresources
lineinfile:
path: ~/.Xresources
create: yes
state: present
line: '#include ".Xresources.d/cursor"'