home: Refine terminal fount selection
This commit is contained in:
parent
4a2798aaea
commit
24296fcbd1
4 changed files with 12 additions and 4 deletions
|
@ -19,6 +19,7 @@ in lib.mkIf (osConfig.hardware.graphics.enable or false) {
|
|||
|
||||
monospace = [
|
||||
"Fira Code"
|
||||
"Julia Mono"
|
||||
"M PLUS 1 Code"
|
||||
"Noto Sans Mono"
|
||||
"Symbols Nerd Font Mono"
|
||||
|
@ -29,6 +30,7 @@ in lib.mkIf (osConfig.hardware.graphics.enable or false) {
|
|||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
julia-mono
|
||||
lato
|
||||
self.packages.${pkgs.system}.fira-code
|
||||
mplus-outline-fonts.githubRelease
|
||||
|
|
|
@ -154,7 +154,7 @@ in {
|
|||
end
|
||||
|
||||
echo -n -s (set_color $user_colour --bold) $USER@ (prompt_hostname) \
|
||||
(set_color blue --bold) ' ' (prompt_pwd) ' ❯ ' (set_color normal)
|
||||
(set_color blue --bold) ' ' (prompt_pwd) ' › ' (set_color normal)
|
||||
'';
|
||||
|
||||
fish_right_prompt = ''
|
||||
|
|
|
@ -11,7 +11,14 @@ in lib.mkIf (osConfig.hardware.graphics.enable or false) {
|
|||
programs.kitty = {
|
||||
enable = true;
|
||||
theme = "Catppuccin-Mocha";
|
||||
settings = {
|
||||
settings = let
|
||||
regular = "family='Fira Code' features='+cv01 +cv06 +onum +ss01 +ss03 +ss06 +ss07 +ss08 +zero'";
|
||||
in {
|
||||
font_family = "${regular} style=Regular";
|
||||
bold_font = "${regular} style=SemiBold";
|
||||
italic_font = "Julia Mono";
|
||||
bold_italic_font = "Julia Mono";
|
||||
|
||||
disable_ligatures = "cursor";
|
||||
|
||||
cursor_blink_interval = 0;
|
||||
|
|
|
@ -16,8 +16,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
runHook preInstall
|
||||
|
||||
install -D -m 0644 -t "$out/share/fonts" \
|
||||
"ttf/Fira Code/"*.ttf \
|
||||
"variable_ttf/Fira Code/"*.ttf
|
||||
"variable_ttf/Fira Code/FiraCode-VF.ttf"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue