Add config for fontconfig

This commit is contained in:
Nise Void 2020-12-08 11:51:55 +01:00
parent ac175c332d
commit 9daed8c324
Signed by: NiseVoid
GPG Key ID: FBA14AC83EA602F3
2 changed files with 49 additions and 1 deletions

45
fonts.conf Normal file
View File

@ -0,0 +1,45 @@
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<alias>
<family>serif</family>
<prefer><family>Noto Serif</family></prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer><family>Noto Sans</family></prefer>
</alias>
<alias>
<family>sans</family>
<prefer><family>Noto Sans</family></prefer>
</alias>
<alias>
<family>monospace</family>
<prefer><family>Hack</family></prefer>
</alias>
<match>
<test name="family"><string>Arial</string></test>
<edit name="family" mode="assign" binding="strong">
<string>Noto Sans</string>
</edit>
</match>
<match>
<test name="family"><string>Verdana</string></test>
<edit name="family" mode="assign" binding="strong">
<string>Noto Sans</string>
</edit>
</match>
<match>
<test name="family"><string>Tahoma</string></test>
<edit name="family" mode="assign" binding="strong">
<string>Noto Sans</string>
</edit>
</match>
<match>
<test name="family"><string>Helvetica</string></test>
<edit name="family" mode="assign" binding="strong">
<string>Noto Sans</string>
</edit>
</match>
</fontconfig>

View File

@ -1,5 +1,5 @@
#! /bin/bash
# Dependancies: feh maim slop mpv youtube-dl i3lock xset imagemagick dmenu neovim (lo)ksh mpd mpc fzf xsetroot
# Dependancies: feh maim slop mpv youtube-dl i3lock xset imagemagick dmenu neovim (lo)ksh mpd mpc fzf xsetroot NotoSans/Serif Hack
# Build: dwm st
ln -s ~/.LinuxConfig/profile ~/.profile
@ -12,5 +12,8 @@ fi
mkdir ~/.config/mpv
ln -s ~/.LinuxConfig/mpv.conf ~/.config/mpv/
mkdir ~/.config/fontconfig
ln -s ~/.LinuxConfig/fonts.conf ~/.config/fontconfig/fonts.conf
ln -s ~/.LinuxConfig/xinitrc ~/.xinitrc
ln -s ~/.LinuxConfig/picom.conf ~/.config/picom.conf