2020-07-15 18:31:11 -06:00
|
|
|
if [ ! -z $DISPLAY ]; then
|
|
|
|
[[ -d ~/.fonts ]] && xset +fp ~/.fonts 2>/dev/null
|
|
|
|
[[ -d ~/.local/share/fonts ]] && xset +fp ~/.local/share/fonts/ 2>/dev/null
|
2020-07-15 16:28:24 -06:00
|
|
|
|
2020-07-15 18:31:11 -06:00
|
|
|
for font in /usr/local/share/fonts/*; do
|
|
|
|
xset +fp "${font}" 2>/dev/null
|
|
|
|
done
|
2020-07-15 16:28:24 -06:00
|
|
|
|
2020-07-15 18:31:11 -06:00
|
|
|
xset fp rehash
|
|
|
|
fi
|