Switch to Victor Mono
The vanilla JetBrains Mono does not render some ligatures like => properly which made us use nerd-fonts package. However, the nerd-fonts jetbrains-mono font seems to sometimes cause problems with kitty not recognizing it by the standard name. Could be a fontconfig issue as well. Switch to Victor Mono which also has ligature support and does not seem to suffer from the problem above. We need the nerd-fonts version as well due to nvim-web-devicons requiring patched fonts. Deploying the fontconfig change seems to make the devicons in the neovim status line render better at least size wise.
This commit is contained in:
parent
a148531d3f
commit
74b4f194b8
8 changed files with 28 additions and 28 deletions
|
@ -58,16 +58,16 @@ font:
|
|||
# The normal (roman) font face to use.
|
||||
# Style can be specified to pick a specific face.
|
||||
normal:
|
||||
family: JetBrains Mono Nerd Font Mono
|
||||
style: Medium Italic
|
||||
family: Victor Mono
|
||||
style: Bold
|
||||
|
||||
bold:
|
||||
family: JetBrains Mono Nerd Font Mono
|
||||
family: Victor Mono
|
||||
style: Bold
|
||||
|
||||
italic:
|
||||
family: JetBrains Mono Nerd Font Mono
|
||||
style: Medium Italic
|
||||
family: Victor Mono
|
||||
style: Bold Italic
|
||||
|
||||
# Point size of the font
|
||||
size: 12.0
|
||||
|
|
|
@ -5,7 +5,7 @@ conky.config = {
|
|||
cpu_avg_samples = 2,
|
||||
default_color = 'F9FAF9',
|
||||
double_buffer = true,
|
||||
font = 'JetBrains Mono:size=14',
|
||||
font = 'Victor Mono:size=14',
|
||||
draw_shades = false,
|
||||
gap_x = 25,
|
||||
gap_y = 13,
|
||||
|
@ -18,30 +18,30 @@ conky.config = {
|
|||
use_xft = true,
|
||||
}
|
||||
conky.text = [[
|
||||
${voffset 8}$color2${font JetBrains Mono:size=16}${time %A}$font\
|
||||
${voffset -8}$alignr$color${font JetBrains Mono:size=38}${time %e}$font
|
||||
$color${voffset -30}$color${font JetBrains Mono:size=18}${time %b}$font\
|
||||
${voffset -3} $color${font JetBrains Mono:size=20}${time %Y}$font$color2$hr
|
||||
${voffset 8}$color2${font Victor Mono:size=16}${time %A}$font\
|
||||
${voffset -8}$alignr$color${font Victor Mono:size=38}${time %e}$font
|
||||
$color${voffset -30}$color${font Victor Mono:size=18}${time %b}$font\
|
||||
${voffset -3} $color${font Victor Mono:size=20}${time %Y}$font$color2$hr
|
||||
#
|
||||
${voffset 20}${goto 40}${color}CPU${font JetBrains Mono:bold:size=8}$alignr$cpu%
|
||||
${voffset 20}${goto 40}${color}CPU${font Victor Mono:bold:size=8}$alignr$cpu%
|
||||
${voffset 5}${goto 40}$font$color2${top name 1}$alignr$color${top cpu 1}%
|
||||
${goto 40}$color2${top name 2}$alignr$color${top cpu 2}%
|
||||
${goto 40}$color2${top name 3}$alignr$color${top cpu 3}%
|
||||
${goto 40}$color2${top name 4}$alignr$color${top cpu 4}%
|
||||
# ${goto 40}$color2${top name 5}$alignr$color${top cpu 5}%
|
||||
#
|
||||
${voffset 10}${goto 40}${color}RAM${font JetBrains Mono:bold:size=8}$alignr$mem$font
|
||||
${voffset 10}${goto 40}${color}RAM${font Victor Mono:bold:size=8}$alignr$mem$font
|
||||
${goto 40}${voffset 5}$color2${top_mem name 1}$alignr$color${top_mem mem_res 1}
|
||||
${goto 40}$color2${top_mem name 2}$alignr$color${top_mem mem_res 2}
|
||||
${goto 40}$color2${top_mem name 3}$alignr$color${top_mem mem_res 3}
|
||||
${goto 40}$color2${top_mem name 4}$alignr$color${top_mem mem_res 4}
|
||||
# ${goto 40}$color2${top_mem name 5}$alignr$color${top_mem mem_res 5}
|
||||
#
|
||||
${voffset 10}${goto 40}${color}Swap${font JetBrains Mono:bold:size=8}$alignr${swap}/ ${swapfree}
|
||||
${voffset 20}${goto 40}${color}Battery${font JetBrains Mono:bold:size=12}$alignr${battery}
|
||||
${voffset 10}${goto 40}${color}Swap${font Victor Mono:bold:size=8}$alignr${swap}/ ${swapfree}
|
||||
${voffset 20}${goto 40}${color}Battery${font Victor Mono:bold:size=12}$alignr${battery}
|
||||
${voffset 15}$font$alignr${execi 10000 awk -F= '/TION/ {print $2}' /etc/lsb-release |sed 's/"//g'} \
|
||||
${execi 10000 awk -F= '/EASE=/ {printf $2" "} /NAME/ {print $2}' /etc/lsb-release}
|
||||
${voffset 10}${color2}${alignr}${execi 1200 whoami}@${nodename}
|
||||
${alignr}${color2}${font JetBrains Mono:size=8}uptime: ${color}${uptime_short}
|
||||
${voffset 5}${color2}${font JetBrains Mono:size=8}${alignr}kernel: ${color}${kernel}
|
||||
${alignr}${color2}${font Victor Mono:size=8}uptime: ${color}${uptime_short}
|
||||
${voffset 5}${color2}${font Victor Mono:size=8}${alignr}kernel: ${color}${kernel}
|
||||
]]
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
;;
|
||||
;; They all accept either a font-spec, font string ("Input Mono-12"), or xlfd
|
||||
;; font string. You generally only need these two:
|
||||
(setq doom-font (font-spec :family "JetBrainsMono Nerd Font" :size 20))
|
||||
(setq doom-font (font-spec :family "Victor Mono" :size 24 :weight 'bold :slant 'italic))
|
||||
|
||||
;; There are two ways to load a theme. Both assume the theme is installed and
|
||||
;; available. You can either set `doom-theme' or manually load a theme with the
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>JetBrainsMono Nerd Font</family>
|
||||
<family>Victor Mono</family>
|
||||
<default>
|
||||
<family>monospace</family>
|
||||
</default>
|
||||
|
@ -10,8 +10,8 @@
|
|||
<alias>
|
||||
<family>monospace</family>
|
||||
<prefer>
|
||||
<family>JetBrainsMono Nerd Font</family>
|
||||
<family>TerminessTTF Nerd Font</family>
|
||||
<family>Victor Mono</family>
|
||||
<family>VictorMono Nerd Font</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
</fontconfig>
|
||||
|
|
|
@ -6,10 +6,10 @@
|
|||
#: individual font faces and even specify special fonts for particular
|
||||
#: characters.
|
||||
|
||||
font_family JetBrainsMono Nerd Font Medium Italic
|
||||
bold_font auto
|
||||
italic_font auto
|
||||
bold_italic_font auto
|
||||
font_family Victor Mono Bold
|
||||
bold_font Victor Mono Bold
|
||||
italic_font Victor Mono Bold Italic
|
||||
bold_italic_font Victor Mono Bold Italic
|
||||
|
||||
#: You can specify different fonts for the bold/italic/bold-italic
|
||||
#: variants. To get a full list of supported fonts use the `kitty
|
||||
|
@ -23,7 +23,7 @@ bold_italic_font auto
|
|||
#: italic_font Operator Mono Book Italic
|
||||
#: bold_italic_font Operator Mono Medium Italic
|
||||
|
||||
font_size 14.0
|
||||
font_size 16.0
|
||||
|
||||
#: Font size (in pts)
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
anchor=top-right
|
||||
font=JetBrainsMono Nerd Font
|
||||
font=Victor Mono Bold Italic
|
||||
default-timeout=0
|
||||
text-color=#ebdbb2
|
||||
border-color=#1d2021
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
font=JetBrains Mono
|
||||
font=Victor Mono
|
||||
font-size=14
|
||||
color=000000
|
||||
inside-color=282828
|
||||
|
|
|
@ -7,7 +7,7 @@ set statusbar-h-padding 0
|
|||
set statusbar-v-padding 0
|
||||
|
||||
set selection-clipboard clipboard
|
||||
set font "JetBrainsMono Nerd Font 14"
|
||||
set font "Victor Mono Bold Italic 14"
|
||||
set default-bg "#262626" #00
|
||||
set default-fg "#ebdbb2" #01
|
||||
|
||||
|
|
Loading…
Reference in a new issue