Use ohmyksh for loading fonts

This commit is contained in:
Aaron Bieber 2021-08-30 10:41:10 -06:00
parent 736d37a2a8
commit 9b76fe9815

View File

@ -1,4 +1,6 @@
#!/bin/sh #!/bin/sh
export OHMYKSH_DIR=${HOME}/src/ohmyksh
. ${OHMYKSH_DIR}/ohmy.ksh
mv ~/.cache ~/.tcache && \ mv ~/.cache ~/.tcache && \
mkdir ~/.cache mkdir ~/.cache
@ -29,13 +31,8 @@ if [ $OS != "OpenBSD" ]; then
LPREFIX=/usr LPREFIX=/usr
fi fi
xset -b & load_extension fonts
xset +fp ~/.fonts which keychain 2>&1 > /dev/null && load_extension keychain
xset +fp ~/.local/share/fonts/
for font in /usr/local/share/fonts/*; do
xset +fp "${font}"
done
xset fp rehash
xrdb -merge -load ~/.Xresources & xrdb -merge -load ~/.Xresources &