use symbol font for symbols
This commit is contained in:
parent
207d227342
commit
b7ee4e2dbb
10 changed files with 79 additions and 32 deletions
|
|
@ -39,6 +39,7 @@ let
|
|||
fontFamily = f.sansSerif.name;
|
||||
fontSize = f.sizes.desktop;
|
||||
barOpacity = 1.0 - config.stylix.opacity.desktop;
|
||||
iconFontFamily = "Symbols Nerd Font";
|
||||
}
|
||||
);
|
||||
in
|
||||
|
|
@ -57,7 +58,7 @@ in
|
|||
default = { };
|
||||
description = ''
|
||||
Theme overrides written to `$XDG_CONFIG_HOME/nova-shell/theme.json`.
|
||||
Keys: colors (base00-base0F), fontFamily, fontSize, barOpacity, barHeight.
|
||||
Keys: colors (base00-base0F), fontFamily, iconFontFamily, fontSize, barOpacity, barHeight.
|
||||
Automatically populated from stylix when it is available.
|
||||
'';
|
||||
};
|
||||
|
|
@ -79,7 +80,10 @@ in
|
|||
config = lib.mkIf cfg.enable {
|
||||
programs.nova-shell.theme = lib.mkIf stylixAvailable (lib.mkDefault stylixTheme);
|
||||
|
||||
home.packages = [ self.packages.${pkgs.stdenv.hostPlatform.system}.nova-shell-cli ];
|
||||
home.packages = [
|
||||
self.packages.${pkgs.stdenv.hostPlatform.system}.nova-shell-cli
|
||||
pkgs.nerd-fonts.symbols-only
|
||||
];
|
||||
|
||||
xdg.configFile."nova-shell/theme.json".source =
|
||||
(pkgs.formats.json { }).generate "nova-shell-theme.json"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue