Since we have a proper fontconfig in place, let that be the source
of truth for the font to be used and just specify monospace as the
font to be used everywhere else.
We pick the same base 16 colors as in the default foot configuration
but with the background set to complete black viz #000000. Might want
to use this at a later date.
To make sure symbols still get rendered properly, we need to install
the ttf-nerd-fonts-symbols package. Then make sure the below symlink
is present to make it work.
ln -s /usr/share/fontconfig/conf.avail/10-nerd-font-symbols.conf /etc/fonts/conf.d/10-nerd-font-symbols.conf
Do not set file type to man, as it gives the same highlight to
everything and the standard white on black is better.
Also load our own custom plugin to purge ANSI color codes from the
buffer on loading.
From 0.21.0 the options to control which modifiers keys to press
for various mouse actions have been removed. The options were:
terminal_select_modifiers, rectangle_select_modifiers and open_url_modifiers.
Use the mouse actions framework if these are needed.
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 depends on default-web-browser being set with xdg as below.
$ xdg-settings set default-web-browser firefox-wayland.desktop
firefox-wayland is our own small one liner script to open
firefox with wayland enabled.
MOZ_ENABLE_WAYLAND=1 firefox $@