add fontconfigs

master
an 2019-06-29 16:17:39 -04:00
parent 4c06d068a7
commit 4d6570a403
3 changed files with 40 additions and 3 deletions

View File

@ -15,15 +15,23 @@ while read f t
cp -r $t $f
end < files
# copy font configs
find /etc/fonts/conf.d/*.conf > fonts/conflist
for f in /etc/fonts/conf.d/*.conf
if not test -L "$f"
cp $f fonts
end
end
# copy vim package names
tree -dL 3 ~/.vim/pack > vim/packages
pushd
for repo in ~/.vim/pack/*/*/*
cd $repo
pushd $repo
echo (basename $PWD) "<"(git config --get remote.origin.url)">"
popd
end > vim/package_repos
popd
sed -i 's/password>.*<\//password>password removed<\//g' network/icecast.xml
sed -i 's/password\(\s*\)".*"/password\1"password removed"/g' network/mpd.conf

23
fonts/conflist Normal file
View File

@ -0,0 +1,23 @@
/etc/fonts/conf.d/10-hinting-slight.conf
/etc/fonts/conf.d/10-no-sub-pixel.conf
/etc/fonts/conf.d/10-scale-bitmap-fonts.conf
/etc/fonts/conf.d/30-metric-aliases.conf
/etc/fonts/conf.d/30-win32-aliases.conf
/etc/fonts/conf.d/40-nonlatin.conf
/etc/fonts/conf.d/45-generic.conf
/etc/fonts/conf.d/45-latin.conf
/etc/fonts/conf.d/49-sansserif.conf
/etc/fonts/conf.d/50-user.conf
/etc/fonts/conf.d/51-local.conf
/etc/fonts/conf.d/56-ttf-twemoji-color.conf
/etc/fonts/conf.d/60-generic.conf
/etc/fonts/conf.d/60-latin.conf
/etc/fonts/conf.d/65-fonts-persian.conf
/etc/fonts/conf.d/65-khmer.conf
/etc/fonts/conf.d/65-nonlatin.conf
/etc/fonts/conf.d/66-noto-mono.conf
/etc/fonts/conf.d/66-noto-sans.conf
/etc/fonts/conf.d/66-noto-serif.conf
/etc/fonts/conf.d/70-no-bitmaps.conf
/etc/fonts/conf.d/70-noto-cjk.conf
/etc/fonts/conf.d/90-synthetic.conf

6
fonts/explanation Normal file
View File

@ -0,0 +1,6 @@
Arch Linux uses presets for global font configs, so only font configs I've
written are stored here. The rest can be assumed to have been from Arch's
default packaged configurations.
I do not use per-user font configuration because it does not allow SDDM to use
the correct fonts. All of these configs come from </etc/fonts/conf.d/>.