From ab50ce6a7f258c9f292f6b27b7c7f12f424b7866 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Mon, 27 Sep 2021 22:32:36 +0100 Subject: [PATCH 1/3] Improve font rendering --- roles/home-gui/files/fonts.conf | 199 +++++++++++++++++------------- roles/home-gui/tasks/dirs.yml | 4 + roles/home-gui/tasks/dotfiles.yml | 4 + 3 files changed, 124 insertions(+), 83 deletions(-) diff --git a/roles/home-gui/files/fonts.conf b/roles/home-gui/files/fonts.conf index 89f9c24..81ade56 100644 --- a/roles/home-gui/files/fonts.conf +++ b/roles/home-gui/files/fonts.conf @@ -1,85 +1,118 @@ - - + + + - - - - rgb - - - - - true - - - - - hintslight - - - - - true - - - - - lcddefault - - - - - false - - - - - - serif - - - Liberation Serif - - - - - sans-serif - - - Liberation Sans - - - - - monospace - - - Liberation Mono - - - - - - Times - - - Liberation Serif - - - - - Helvetica - - - Liberation Sans - - - - - Courier - - - Liberation Mono - - + + + + true + + + + + + true + + + + + + false + + + + + + hintslight + + + + + + rgb + + + + + + lcddefault + + + + + + + + false + + + + + + + serif + + DejaVu Serif + Bitstream Vera Serif + Times New Roman + Thorndale AMT + Luxi Serif + Nimbus Roman No9 L + Nimbus Roman + Times + + + + + sans-serif + + DejaVu Sans + Bitstream Vera Sans + Verdana + Arial + Albany AMT + Luxi Sans + Nimbus Sans L + Nimbus Sans + Helvetica + Lucida Sans Unicode + + + + + monospace + + DejaVu Sans Mono + Bitstream Vera Sans Mono + Inconsolata + Andale Mono + Courier New + Cumberland AMT + Luxi Mono + Nimbus Mono L + Nimbus Mono + Nimbus Mono PS + Courier + + + + + fantasy + + Impact + Copperplate Gothic Std + Cooper Std + Bauhaus Std + + + + + cursive + + ITC Zapf Chancery Std + Zapfino + Comic Sans MS + + + diff --git a/roles/home-gui/tasks/dirs.yml b/roles/home-gui/tasks/dirs.yml index 2e60aa5..98eecec 100644 --- a/roles/home-gui/tasks/dirs.yml +++ b/roles/home-gui/tasks/dirs.yml @@ -29,3 +29,7 @@ ansible.builtin.file: path: "{{ ansible_env.HOME }}/.local/share/fonts" state: directory +- name: Create ~/.config/fontconfig directory + ansible.builtin.file: + path: "{{ ansible_env.HOME }}/.config/fontconfig" + state: directory diff --git a/roles/home-gui/tasks/dotfiles.yml b/roles/home-gui/tasks/dotfiles.yml index 4e4b1d8..7184ecf 100644 --- a/roles/home-gui/tasks/dotfiles.yml +++ b/roles/home-gui/tasks/dotfiles.yml @@ -49,3 +49,7 @@ ansible.builtin.copy: src: "xbindkeysrc" dest: "{{ ansible_env.HOME }}/.xbindkeysrc" +- name: Copy fonts.conf + ansible.builtin.copy: + src: "fonts.conf" + dest: "{{ ansible_env.HOME }}/.config/fontconfig/fonts.conf" From 517aa18403a95ee0b899ccaffba3267cc3e6e798 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Mon, 27 Sep 2021 17:03:37 +0100 Subject: [PATCH 2/3] Prefer ff over rebase --- roles/home-cli/files/gitconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/home-cli/files/gitconfig b/roles/home-cli/files/gitconfig index 1ac0682..517be95 100644 --- a/roles/home-cli/files/gitconfig +++ b/roles/home-cli/files/gitconfig @@ -1,7 +1,7 @@ [core] autocrlf = input [pull] - rebase = true + ff = only [push] default = simple [color] From 775bc4fe22398286e0a6cfb4d113d9349495257b Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Mon, 27 Sep 2021 17:04:12 +0100 Subject: [PATCH 3/3] Stop specifying a credential helper (prefer SSH) --- roles/home-cli/files/gitconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/roles/home-cli/files/gitconfig b/roles/home-cli/files/gitconfig index 517be95..9a970e9 100644 --- a/roles/home-cli/files/gitconfig +++ b/roles/home-cli/files/gitconfig @@ -8,8 +8,6 @@ ui = auto [init] defaultBranch = main -[credential] - helper = cache [gui] encoding = utf-8 [guitool "Rebase"]