diff --git a/copy-files.fish b/copy-files.fish index f03ce57..726be00 100755 --- a/copy-files.fish +++ b/copy-files.fish @@ -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 diff --git a/fonts/conflist b/fonts/conflist new file mode 100644 index 0000000..6230464 --- /dev/null +++ b/fonts/conflist @@ -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 diff --git a/fonts/explanation b/fonts/explanation new file mode 100644 index 0000000..3f30332 --- /dev/null +++ b/fonts/explanation @@ -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 .