switching from Drafting* Mono to MonoLisa font

This commit is contained in:
Rudis Muiznieks 2024-08-29 16:21:55 -05:00
parent 323d3a5738
commit c5e22b357d
Signed by: rudism
GPG Key ID: CABF2F86EF7884F9
6 changed files with 87 additions and 84 deletions

View File

@ -1,78 +1,81 @@
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<fontconfig>
<alias>
<family>monospace</family>
<prefer>
<family>Drafting* Mono</family>
<family>Symbols Nerd Font</family>
<family>Unifont</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Graphik</family>
<family>Unifont</family>
</prefer>
</alias>
<alias>
<family>Helvetica</family>
<prefer>
<family>Graphik</family>
</prefer>
</alias>
<alias>
<family>Times</family>
<prefer>
<family>Merriweather</family>
</prefer>
</alias>
<alias>
<family>Georgia</family>
<prefer>
<family>Merriweather</family>
</prefer>
</alias>
<alias>
<family>Charter</family>
<prefer>
<family>Merriweather</family>
</prefer>
</alias>
<alias>
<family>serif</family>
<prefer>
<family>Merriweather</family>
<family>Unifont</family>
</prefer>
</alias>
<match target="font">
<test name="spacing" compare="eq">
<const>mono</const>
</test>
<edit name="embolden" mode="assign">
<bool>false</bool>
</edit>
</match>
<dir>~/.fonts</dir>
<match target="font">
<edit mode="assign" name="rgba">
<const>rgb</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hintstyle">
<const>hintslight</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="antialias">
<bool>true</bool>
</edit>
</match>
<alias>
<family>monospace</family>
<prefer>
<family>MonoLisa</family>
<family>Unifont</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>DejaVu Sans</family>
<family>Unifont</family>
</prefer>
</alias>
<alias>
<family>Helvetica</family>
<prefer>
<family>DejaVu Sans</family>
<family>Unifont</family>
</prefer>
</alias>
<alias>
<family>Times</family>
<prefer>
<family>DejaVu Serif</family>
<family>Unifont</family>
</prefer>
</alias>
<alias>
<family>Georgia</family>
<prefer>
<family>DejaVu Serif</family>
<family>Unifont</family>
</prefer>
</alias>
<alias>
<family>Charter</family>
<prefer>
<family>DejaVu Serif</family>
<family>Unifont</family>
</prefer>
</alias>
<alias>
<family>serif</family>
<prefer>
<family>DejaVu Serif</family>
<family>Unifont</family>
</prefer>
</alias>
<match target="font">
<test name="spacing" compare="eq">
<const>mono</const>
</test>
<edit name="embolden" mode="assign">
<bool>false</bool>
</edit>
</match>
<dir>~/.fonts</dir>
<match target="font">
<edit mode="assign" name="rgba">
<const>rgb</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hintstyle">
<const>hintslight</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="antialias">
<bool>true</bool>
</edit>
</match>
</fontconfig>

Binary file not shown.

View File

@ -2,5 +2,5 @@
mkdir -p ~/fontstemp
gpg --decrypt fonts.txz.gpg | tar xJvC ~/fontstemp
cp ~/fontstemp/fonts/DraftingMono-Regular.ttf ~/.termux/font.ttf
cp ~/fontstemp/fonts/MonaLisa-normal.ttf ~/.termux/font.ttf
rm -rf ~/fontstemp

View File

@ -20,7 +20,7 @@
#: <https://sw.kovidgoyal.net/kitty/kittens/choose-fonts/#font-spec-
#: syntax>.
font_size 14.0
font_size 13.0
#: Font size (in pts).
@ -2616,8 +2616,8 @@ include current-theme.conf
# BEGIN_KITTY_FONTS
font_family family='Drafting* Mono' style=Light
bold_font family='Drafting* Mono' style=Medium
italic_font family='Drafting* Mono' style='Light Italic'
bold_italic_font family='Drafting* Mono' style='Medium Italic'
font_family family='MonoLisa' style=Light features='+ss07 +ss11 +ss18 -liga +zero'
bold_font family='MonoLisa' style=Medium features='+ss07 +ss11 +ss18 -liga +zero'
italic_font family='MonoLisa' style='Light Italic' features='+ss07 +ss11 +ss18 -liga +zero'
bold_italic_font family='MonoLisa' style='Medium Italic' features='+ss07 +ss11 +ss18 -liga +zero'
# END_KITTY_FONTS

View File

@ -19,7 +19,7 @@ print_stat() {
print_icon() {
icon=$1
echo -n "<span foreground='$c_icon'>$icon</span> "
echo -n "<span foreground='$c_icon'>$icon</span> "
}
read -r -d '' -a cpu < <(sicli -i cpu -p0)
@ -46,7 +46,7 @@ status=$(
print_icon ""
print_stat "${cpu[0]}" "${cpu[1]}"
echo -n " $separator "
print_icon ""
print_icon ""
print_stat "${ram[0]}" "${ram[1]}"
echo -n " $separator "
print_icon ""

View File

@ -1,6 +1,6 @@
bar {
position top
font monospace 13
font "MonoLisa" 13
status_command while ~/skynet/scripts/swaystatus.sh; do sleep 3; done
pango_markup enabled