mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 11:36:20 +00:00
feat: change font stuff
This commit is contained in:
@@ -6,4 +6,14 @@ size = 16
|
|||||||
edging = "subpixelantialias"
|
edging = "subpixelantialias"
|
||||||
|
|
||||||
[font.features]
|
[font.features]
|
||||||
"FiraCode Nerd Font" = ["+zero", "+onum", "+ss04", "+cv19", "+cv23", "+ss09", "+cv27", "+ss06", "+ss07", "+ss10"]
|
"FiraCode Nerd Font" = [
|
||||||
|
"+zero",
|
||||||
|
"+onum",
|
||||||
|
"+ss04",
|
||||||
|
"+cv19",
|
||||||
|
"+cv23",
|
||||||
|
"+ss09",
|
||||||
|
"+ss06",
|
||||||
|
"+ss07",
|
||||||
|
"+ss10",
|
||||||
|
]
|
||||||
|
|||||||
@@ -21,16 +21,6 @@ let
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
lualine-so-fancy = pkgs.vimUtils.buildVimPlugin {
|
|
||||||
name = "lualine-so-fancy";
|
|
||||||
version = "2128450";
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "meuter";
|
|
||||||
repo = "lualine-so-fancy.nvim";
|
|
||||||
rev = "21284504fed2776668fdea8743a528774de5d2e1";
|
|
||||||
hash = "sha256-JMz3Dv3poGoYQU+iq/jtgyHECZLx+6mLCvqUex/a0SY=";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
in {
|
in {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultEditor = true;
|
defaultEditor = true;
|
||||||
@@ -456,7 +446,6 @@ in {
|
|||||||
];
|
];
|
||||||
extraPlugins = with pkgs.vimPlugins; [
|
extraPlugins = with pkgs.vimPlugins; [
|
||||||
vim-mergetool
|
vim-mergetool
|
||||||
lualine-so-fancy
|
|
||||||
darkman
|
darkman
|
||||||
rest-nvim
|
rest-nvim
|
||||||
plenary-nvim
|
plenary-nvim
|
||||||
|
|||||||
@@ -206,29 +206,7 @@
|
|||||||
monospace = [ "FiraCode Nerd Font" ];
|
monospace = [ "FiraCode Nerd Font" ];
|
||||||
sansSerif = [ "Noto Sans Nerd Font" ];
|
sansSerif = [ "Noto Sans Nerd Font" ];
|
||||||
};
|
};
|
||||||
|
localConf = builtins.readFile ./fontconfig.xml;
|
||||||
localConf =
|
|
||||||
# xml
|
|
||||||
''
|
|
||||||
<match target="font">
|
|
||||||
<test name="family" compare="contains">
|
|
||||||
<string>Fira</string>
|
|
||||||
</test>
|
|
||||||
<edit name="fontfeatures" mode="append">
|
|
||||||
<string>zero</string>
|
|
||||||
<string>onum</string>
|
|
||||||
<string>ss04</string>
|
|
||||||
<string>cv19</string>
|
|
||||||
<string>cv23</string>
|
|
||||||
<string>ss09</string>
|
|
||||||
<string>cv27</string>
|
|
||||||
<string>ss06</string>
|
|
||||||
<string>ss07</string>
|
|
||||||
<string>ss10</string>
|
|
||||||
</edit>
|
|
||||||
</match>
|
|
||||||
'';
|
|
||||||
|
|
||||||
subpixel.rgba = "bgr";
|
subpixel.rgba = "bgr";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
17
hosts/MONSTER/fontconfig.xml
Normal file
17
hosts/MONSTER/fontconfig.xml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
<match target="font">
|
||||||
|
<test name="family" compare="contains">
|
||||||
|
<string>Fira</string>
|
||||||
|
</test>
|
||||||
|
<!-- https://github.com/tonsky/FiraCode/wiki/How-to-enable-stylistic-sets -->
|
||||||
|
<edit name="fontfeatures" mode="append">
|
||||||
|
<string>zero</string>
|
||||||
|
<string>onum</string>
|
||||||
|
<string>ss04</string>
|
||||||
|
<string>cv19</string>
|
||||||
|
<string>cv23</string>
|
||||||
|
<string>ss09</string>
|
||||||
|
<string>ss06</string>
|
||||||
|
<string>ss07</string>
|
||||||
|
<string>ss10</string>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
Reference in New Issue
Block a user