[misc] use dejavu as serif font and URW Gothic as sans-serif

This commit is contained in:
Klesh Wong 2020-09-30 20:07:51 +08:00
parent 5df82c181e
commit e861b20070
2 changed files with 5 additions and 3 deletions

View File

@ -12,6 +12,7 @@ case "$PM" in
fonts-cascadia-code \ fonts-cascadia-code \
fonts-wqy-microhei \ fonts-wqy-microhei \
fonts-symbola \ fonts-symbola \
fonts-dejavu-core \
gucharmap gucharmap
# network manager # network manager
sudo apt install \ sudo apt install \
@ -31,9 +32,10 @@ case "$PM" in
gsfonts \ gsfonts \
ttf-cascadia-code \ ttf-cascadia-code \
wqy-microhei \ wqy-microhei \
ttf-dejavu \
gucharmap gucharmap
# install symbola for plain emojis(no-color) for st # install symbola for plain emojis(no-color) for st
yay -S ttf-symbola-free yay -S --needed ttf-symbola-free
# clipboard # clipboard
sudo pacman -S --needed \ sudo pacman -S --needed \
xclip xsel xclip xsel

View File

@ -3,11 +3,11 @@
<fontconfig> <fontconfig>
<match target="pattern"> <match target="pattern">
<test qual="any" name="family"><string>serif</string></test> <test qual="any" name="family"><string>serif</string></test>
<edit name="family" mode="assign" binding="same"><string>Noto Serif CJK SC</string></edit> <edit name="family" mode="assign" binding="same"><string>DejaVu Serif</string></edit>
</match> </match>
<match target="pattern"> <match target="pattern">
<test qual="any" name="family"><string>sans-serif</string></test> <test qual="any" name="family"><string>sans-serif</string></test>
<edit name="family" mode="assign" binding="same"><string>Noto Sans CJK SC</string></edit> <edit name="family" mode="assign" binding="same"><string>URW Gothic</string></edit>
</match> </match>
<match target="pattern"> <match target="pattern">
<test qual="any" name="family"><string>monospace</string></test> <test qual="any" name="family"><string>monospace</string></test>