mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-12-29 06:28:14 +01:00
Compare commits
4 Commits
2615ab2abb
...
ed884c39da
| Author | SHA1 | Date | |
|---|---|---|---|
| ed884c39da | |||
| 6cc7c46f88 | |||
| 84179cbd28 | |||
| dfcaf46736 |
18
.gitmodules
vendored
18
.gitmodules
vendored
@ -88,3 +88,21 @@
|
||||
branch = master
|
||||
ignore = dirty
|
||||
shallow = true
|
||||
[submodule "submodules/source-sans"]
|
||||
path = submodules/source-sans
|
||||
url = https://github.com/adobe-fonts/source-sans.git
|
||||
branch = release
|
||||
ignore = dirty
|
||||
shallow = true
|
||||
[submodule "submodules/source-serif"]
|
||||
path = submodules/source-serif
|
||||
url = https://github.com/adobe-fonts/source-serif.git
|
||||
branch = release
|
||||
ignore = dirty
|
||||
shallow = true
|
||||
[submodule "submodules/source-code-pro"]
|
||||
path = submodules/source-code-pro
|
||||
url = https://github.com/adobe-fonts/source-code-pro.git
|
||||
branch = release
|
||||
ignore = dirty
|
||||
shallow = true
|
||||
|
||||
@ -20,38 +20,38 @@ lockPref("cookiebanners.service.mode.privateBrowsing", 2);
|
||||
|
||||
// I can set my preferred fonts in an order! :O
|
||||
// but obviously this is forbidden in policies.json!
|
||||
//lockPref(
|
||||
// "font.name-list.monospace.x-cyrillic",
|
||||
// "Atkinson Hyperlegible Mono, Comic Shanns Mono, Roboto Mono, Liberation Mono, Noto Sans Mono, monospace",
|
||||
//);
|
||||
// Remember to allow fonts in privacy.fingerprintingProtection overrides and forbid document fonts to defeat font fingerprinting kind of
|
||||
lockPref(
|
||||
"font.name-list.monospace.x-cyrillic",
|
||||
"Atkinson Hyperlegible Mono, Comic Shanns Mono, Roboto Mono, Liberation Mono, Noto Sans Mono, monospace",
|
||||
);
|
||||
lockPref(
|
||||
"font.name-list.monospace.x-western",
|
||||
"Atkinson Hyperlegible Mono, Comic Shanns Mono, Roboto Mono, Liberation Mono, Noto Sans Mono, monospace",
|
||||
);
|
||||
// Forcing document fonts defeats font fingerprinting, don't worry.
|
||||
//lockPref(
|
||||
// "font.name-list.sans-serif.x-cyrillic",
|
||||
// "Atkinson Hyperlegible Next, Atkinson Hyperlegible, Inclusive Sans, Roboto, Liberation Sans, Noto Sans, sans-serif",
|
||||
//);
|
||||
lockPref(
|
||||
"font.name-list.sans-serif.x-cyrillic",
|
||||
"Atkinson Hyperlegible Next, Atkinson Hyperlegible, OpenDyslexic, Inclusive Sans, SourceSans3VF, Roboto, Liberation Sans, Noto Sans, sans-serif",
|
||||
);
|
||||
lockPref(
|
||||
"font.name-list.sans-serif.x-western",
|
||||
"Atkinson Hyperlegible Next, Atkinson Hyperlegible, Inclusive Sans, Roboto, Liberation Sans, Noto Sans, sans-serif",
|
||||
"Atkinson Hyperlegible Next, Atkinson Hyperlegible, OpenDyslexic, Inclusive Sans, SourceSans3VF, Liberation Sans, Comic Neue, Roboto, Noto Sans, sans-serif",
|
||||
);
|
||||
lockPref(
|
||||
"font.name-list.serif.x-cyrillic",
|
||||
"Source Serif 4 Variable, Liberation Serif, Roboto Serif, Noto Serif, serif",
|
||||
);
|
||||
//lockPref(
|
||||
// "font.name-list.serif.x-cyrillic",
|
||||
// "OpenDyslexic, Liberation Serif, Roboto Serif, Noto Serif, serif",
|
||||
// );
|
||||
lockPref(
|
||||
"font.name-list.serif.x-western",
|
||||
"OpenDyslexic, Liberation Serif, Roboto Serif, Noto Serif, serif",
|
||||
"Source Serif 4 Variable, Liberation Serif, Roboto Serif, Noto Serif, serif",
|
||||
);
|
||||
|
||||
// Uncomment when giving up on messing up with fonts
|
||||
clearPref("font.name-list.monospace.x-cyrillic");
|
||||
//clearPref("font.name-list.monospace.x-cyrillic");
|
||||
//clearPref("font.name-list.monospace.x-western");
|
||||
clearPref("font.name-list.sans-serif.x-cyrillic");
|
||||
//clearPref("font.name-list.sans-serif.x-cyrillic");
|
||||
//clearPref("font.name-list.sans-serif.x-western");
|
||||
clearPref("font.name-list.serif.x-cyrillic");
|
||||
//clearPref("font.name-list.serif.x-cyrillic");
|
||||
//clearPref("font.name-list.serif.x-western");
|
||||
|
||||
// Play animated images only once, accessibility.
|
||||
|
||||
12
install
12
install
@ -339,6 +339,12 @@ if [ "$(id -u)" == "0" ]; then
|
||||
ln -nsfv $HOME/.shell-things/submodules/nicoverbruggen-ebook-fonts/fonts /usr/local/share/fonts/nicoverbruggen-ebook-fonts
|
||||
ln -nsfv $HOME/.shell-things/submodules/microsoft-fonts/Symbols/*.ttf /usr/local/share/fonts/
|
||||
ln -nsfv $HOME/.shell-things/submodules/microsoft-fonts/Symbols/*.otf /usr/local/share/fonts/
|
||||
ln -nsfv $HOME/.shell-things/submodules/source-sans/VF/*.otf /usr/local/share/fonts/
|
||||
ln -nsfv $HOME/.shell-things/submodules/source-sans/OTF/ /usr/local/share/fonts/source-sans
|
||||
ln -nsfv $HOME/.shell-things/submodules/source-serif/VAR/*.otf /usr/local/share/fonts/
|
||||
ln -nsfv $HOME/.shell-things/submodules/source-serif/OTF /usr/local/share/fonts/source-serif
|
||||
ln -nsfv $HOME/.shell-things/submodules/source-code-pro/VF/*.otf /usr/local/share/fonts/
|
||||
ln -nsfv $HOME/.shell-things/submodules/source-code-pro/OTF/ /usr/local/share/fonts/source-code-pro
|
||||
fi
|
||||
|
||||
# Symlink cleanup
|
||||
@ -461,6 +467,12 @@ if [ -d "$HOME/.shell-things" ]; then
|
||||
ln -nsfv $HOME/.shell-things/submodules/nicoverbruggen-ebook-fonts/fonts $HOME/.local/share/fonts/nicoverbruggen-ebook-fonts
|
||||
ln -nsfv $HOME/.shell-things/submodules/microsoft-fonts/Symbols/*.ttf $HOME/.local/share/fonts/
|
||||
ln -nsfv $HOME/.shell-things/submodules/microsoft-fonts/Symbols/*.otf $HOME/.local/share/fonts/
|
||||
ln -nsfv $HOME/.shell-things/submodules/source-sans/VF/*.otf $HOME/.local/share/fonts/
|
||||
ln -nsfv $HOME/.shell-things/submodules/source-sans/OTF/ $HOME/.local/share/fonts/source-sans
|
||||
ln -nsfv $HOME/.shell-things/submodules/source-serif/VAR/*.otf $HOME/.local/share/fonts/
|
||||
ln -nsfv $HOME/.shell-things/submodules/source-serif/OTF $HOME/.local/share/fonts/source-serif
|
||||
ln -nsfv $HOME/.shell-things/submodules/source-code-pro/VF/*.otf $HOME/.local/share/fonts/
|
||||
ln -nsfv $HOME/.shell-things/submodules/source-code-pro/OTF/ $HOME/.local/share/fonts/source-code-pro
|
||||
|
||||
# Font cleanup
|
||||
if hash symlinks 2> /dev/null; then
|
||||
|
||||
1
submodules/source-code-pro
Submodule
1
submodules/source-code-pro
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 208d9ac7a6827ceb51ea2dc635794839d9659e52
|
||||
1
submodules/source-sans
Submodule
1
submodules/source-sans
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 82818d477056d06ae48f9c68970f9bffd56ce139
|
||||
1
submodules/source-serif
Submodule
1
submodules/source-serif
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit d713003556bcf2dc7eb13593a45b5d48296846bc
|
||||
Loading…
x
Reference in New Issue
Block a user