From 7744271c143fe35a2f5739059f51858d351a9e85 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 9 Oct 2023 14:52:15 +0300 Subject: [PATCH] add font configuration, mainly OpenDyslexic as a submodule --- .gitmodules | 3 +++ local/share/fonts/.gitignore | 1 + local/share/fonts/OpenDyslexic | 1 + local/share/fonts/update-font-cache.bash | 2 ++ submodules/opendyslexic | 1 + 5 files changed, 8 insertions(+) create mode 100644 local/share/fonts/.gitignore create mode 120000 local/share/fonts/OpenDyslexic create mode 100755 local/share/fonts/update-font-cache.bash create mode 160000 submodules/opendyslexic diff --git a/.gitmodules b/.gitmodules index 0d07ef15..5b1e3cfe 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,6 @@ [submodule "submodules/SteamDeckScreenLock"] path = submodules/SteamDeckScreenLock url = https://github.com/RHOPKINS13/SteamDeckScreenLock.git +[submodule "submodules/opendyslexic"] + path = submodules/opendyslexic + url = https://github.com/antijingoist/opendyslexic.git diff --git a/local/share/fonts/.gitignore b/local/share/fonts/.gitignore new file mode 100644 index 00000000..adb2f106 --- /dev/null +++ b/local/share/fonts/.gitignore @@ -0,0 +1 @@ +OpenDyslexic diff --git a/local/share/fonts/OpenDyslexic b/local/share/fonts/OpenDyslexic new file mode 120000 index 00000000..6811c532 --- /dev/null +++ b/local/share/fonts/OpenDyslexic @@ -0,0 +1 @@ +../../../submodules/opendyslexic/compiled/ \ No newline at end of file diff --git a/local/share/fonts/update-font-cache.bash b/local/share/fonts/update-font-cache.bash new file mode 100755 index 00000000..6865abac --- /dev/null +++ b/local/share/fonts/update-font-cache.bash @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +fc-cache diff --git a/submodules/opendyslexic b/submodules/opendyslexic new file mode 160000 index 00000000..e7ac50af --- /dev/null +++ b/submodules/opendyslexic @@ -0,0 +1 @@ +Subproject commit e7ac50af1aabb8cb0fbf81db105f21f81fbb5284