Add custom GTK theme

Saves configuring with `lxappearance`
This commit is contained in:
Jake Howard 2019-05-27 21:38:26 +01:00
parent 9f5db57de3
commit 2048270f1f
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 52 additions and 0 deletions

21
files/gtk3-settings.ini Normal file
View file

@ -0,0 +1,21 @@
[Settings]
gtk-application-prefer-dark-theme=0
gtk-theme-name=Numix
gtk-fallback-icon-theme=Numix
gtk-icon-theme-name=Numix-Square
gtk-font-name=Cantarell 11
gtk-auto-mnemonics=1
gtk-visible-focus=automatic
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintslight
gtk-xft-rgba=rgb
gtk-cursor-theme-name=Adwaita
gtk-cursor-theme-size=24
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=0
gtk-menu-images=0
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=0
gtk-modules=canberra-gtk-module

17
files/gtkrc-2.0 Normal file
View file

@ -0,0 +1,17 @@
include "/home/jake/.gtkrc-2.0.mine"
gtk-theme-name="Numix"
gtk-icon-theme-name="Numix-Square"
gtk-font-name="Cantarell 11"
gtk-cursor-theme-name="Adwaita"
gtk-cursor-theme-size=24
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=0
gtk-menu-images=0
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=0
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintslight"
gtk-xft-rgba="rgb"
gtk-modules="canberra-gtk-module"

View file

@ -52,3 +52,17 @@
value: '"Numix-Square"' value: '"Numix-Square"'
become: true become: true
become_user: "{{ user }}" 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 }}"