mirror of
https://github.com/danth/stylix
synced 2024-11-10 06:34:15 +00:00
Merge pull request #6 from Lyndeno/alacritty
Add font config to alacritty
This commit is contained in:
commit
989fe8857c
1 changed files with 12 additions and 1 deletions
|
@ -1,4 +1,7 @@
|
|||
{pkgs, config, lib, ... }:
|
||||
|
||||
with config.stylix.fonts;
|
||||
|
||||
let
|
||||
themeFile = config.lib.stylix.colors {
|
||||
templateRepo = pkgs.fetchFromGitHub {
|
||||
|
@ -11,6 +14,14 @@ let
|
|||
in
|
||||
{
|
||||
home-manager.sharedModules = [{
|
||||
programs.alacritty.settings.import = [ themeFile ];
|
||||
programs.alacritty.settings = {
|
||||
font = {
|
||||
normal = {
|
||||
family = monospace.name;
|
||||
style = "Regular";
|
||||
};
|
||||
};
|
||||
import = [ themeFile ];
|
||||
};
|
||||
}];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue