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

Binary file not shown.

View File

@ -2,5 +2,5 @@
mkdir -p ~/fontstemp mkdir -p ~/fontstemp
gpg --decrypt fonts.txz.gpg | tar xJvC ~/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 rm -rf ~/fontstemp

View File

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

View File

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

View File

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