Add config for fontconfig
This commit is contained in:
parent
ac175c332d
commit
9daed8c324
45
fonts.conf
Normal file
45
fonts.conf
Normal 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>
|
@ -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…
Reference in New Issue
Block a user