Browse Source

Add config for fontconfig

master
Nise Void 1 year ago
parent
commit
9daed8c324
Signed by: NiseVoid GPG Key ID: FBA14AC83EA602F3
  1. 45
      fonts.conf
  2. 5
      install.sh

45
fonts.conf

@ -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>

5
install.sh

@ -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

Loading…
Cancel
Save