Fonts: Difference between revisions

imported>Erikarvstedt
add "Imperative installation of user fonts"
imported>Erikarvstedt
m '-f' arg is not needed
Line 29: Line 29:
<syntaxhighlight lang="bash">font=$(nix-build --no-out-link '<nixpkgs>' -A source-code-pro)/share/fonts/opentype/SourceCodePro-Regular.otf
<syntaxhighlight lang="bash">font=$(nix-build --no-out-link '<nixpkgs>' -A source-code-pro)/share/fonts/opentype/SourceCodePro-Regular.otf
cp $font ~/.local/share/fonts
cp $font ~/.local/share/fonts
fc-cache -f
fc-cache
# Verify that the font has been installed
# Verify that the font has been installed
fc-list -v | grep -i source
fc-list -v | grep -i source