mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 11:36:20 +00:00
feat: change default font
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
};
|
};
|
||||||
master = {
|
master = {
|
||||||
orientation = "center";
|
orientation = "center";
|
||||||
new_is_master = false;
|
new_is_master = true;
|
||||||
always_center_master = true;
|
always_center_master = true;
|
||||||
mfact = 0.4;
|
mfact = 0.4;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"SUPER,T,exec,kitty"
|
"SUPER,T,exec,kitty"
|
||||||
"SUPER,TAB,exec,ags -t overview"
|
"SUPER,TAB,exec,ags -t overview"
|
||||||
"SUPER,C,togglespecialworkspace,calc"
|
"SUPER,C,togglespecialworkspace,calc"
|
||||||
"SUPER_SHIFT,C,exec,hyprpicker"
|
"SUPER_SHIFT,C,exec,hyprpicker | wl-copy"
|
||||||
"SUPER_SHIFT,V,exec,slurp | grim -g - - | wl-copy"
|
"SUPER_SHIFT,V,exec,slurp | grim -g - - | wl-copy"
|
||||||
"SUPER,P,togglefloating,"
|
"SUPER,P,togglefloating,"
|
||||||
"SUPER,P,pin,"
|
"SUPER,P,pin,"
|
||||||
|
|||||||
@@ -1,30 +1,15 @@
|
|||||||
{pkgs}: {
|
{pkgs}: {
|
||||||
enable = true;
|
enable = true;
|
||||||
/*
|
|
||||||
package = pkgs.kitty.overrideAttrs (prev: {
|
|
||||||
src = pkgs.lib.fetchFromGitHub {
|
|
||||||
owner = "nightuser";
|
|
||||||
repo = "kitty";
|
|
||||||
rev = ""
|
|
||||||
};
|
|
||||||
});
|
|
||||||
*/
|
|
||||||
shellIntegration.enableFishIntegration = true;
|
shellIntegration.enableFishIntegration = true;
|
||||||
font = {
|
|
||||||
package = pkgs.jetbrains-mono;
|
|
||||||
name = "JetBrains Mono";
|
|
||||||
size = 13;
|
|
||||||
};
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
symbol_map U+23FB-U+23FE,U+2665,U+26A1,U+2B58,U+E000-U+E00A,U+E0A0-U+E0A3,U+E0B0-U+E0D4,U+E200-U+E2A9,U+E300-U+E3E3,U+E5FA-U+E6AA,U+E700-U+E7C5,U+EA60-U+EBEB,U+F000-U+F2E0,U+F300-U+F32F,U+F400-U+F4A9,U+F500-U+F8FF,U+F0001-U+F1AF0 Symbols Nerd Font Mono
|
symbol_map U+23FB-U+23FE,U+2665,U+26A1,U+2B58,U+E000-U+E00A,U+E0A0-U+E0A3,U+E0B0-U+E0D4,U+E200-U+E2A9,U+E300-U+E3E3,U+E5FA-U+E6AA,U+E700-U+E7C5,U+EA60-U+EBEB,U+F000-U+F2E0,U+F300-U+F32F,U+F400-U+F4A9,U+F500-U+F8FF,U+F0001-U+F1AF0 Symbols Nerd Font Mono
|
||||||
|
|
||||||
|
font_size 13
|
||||||
|
|
||||||
include ./current-theme.conf
|
include ./current-theme.conf
|
||||||
'';
|
'';
|
||||||
settings = {
|
settings = {
|
||||||
background_opacity = "0.8";
|
background_opacity = "0.8";
|
||||||
window_padding_width = 10;
|
window_padding_width = 10;
|
||||||
|
|
||||||
cursor = "#928374";
|
|
||||||
cursor_text_color = "background";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
tartube
|
tartube
|
||||||
yt-dlp
|
yt-dlp
|
||||||
# youtube-music.override {electron = pkgs.electron_28;})
|
# youtube-music.override {electron = pkgs.electron_28;})
|
||||||
vlc
|
mpv
|
||||||
makemkv
|
makemkv
|
||||||
handbrake
|
handbrake
|
||||||
metadata-cleaner
|
metadata-cleaner
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
maximized = false
|
maximized = false
|
||||||
|
|
||||||
[font]
|
[font]
|
||||||
normal = ["JetBrainsMono NF"]
|
normal = ["FiraCode Nerd Font"]
|
||||||
size = 16
|
size = 16
|
||||||
edging = "subpixelantialias"
|
edging = "subpixelantialias"
|
||||||
|
|
||||||
|
[font.features]
|
||||||
|
"FiraCode Nerd Font" = ["+zero", "+onum", "+ss04", "+cv19", "+cv23", "+ss09", "+cv27", "+ss06", "+ss07", "+ss10"]
|
||||||
|
|||||||
@@ -5,18 +5,6 @@
|
|||||||
nodejs = pkgs.nodejs_18;
|
nodejs = pkgs.nodejs_18;
|
||||||
})
|
})
|
||||||
."@angular/language-server";
|
."@angular/language-server";
|
||||||
/*
|
|
||||||
*tree-sitter-angular = pkgs.tree-sitter.buildGrammar {
|
|
||||||
language = "angular";
|
|
||||||
version = "624ff10";
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "dlvandenberg";
|
|
||||||
repo = "tree-sitter-angular";
|
|
||||||
rev = "ddd64047c8ccc3dc2aff1082e4461ebc9210917d";
|
|
||||||
hash = "sha256-wAbkrJ0MmNhE3qb34DQiju/mFIb7YCTyBUgVmP+iWQs=";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
*/
|
|
||||||
darkman = pkgs.vimUtils.buildVimPlugin {
|
darkman = pkgs.vimUtils.buildVimPlugin {
|
||||||
name = "darkman";
|
name = "darkman";
|
||||||
src = pkgs.buildGoModule rec {
|
src = pkgs.buildGoModule rec {
|
||||||
@@ -193,8 +181,6 @@ in {
|
|||||||
mergetool_layout = "mr";
|
mergetool_layout = "mr";
|
||||||
mergetool_prefer_revision = "local";
|
mergetool_prefer_revision = "local";
|
||||||
|
|
||||||
guifont = "JetBrains_Mono:h12";
|
|
||||||
|
|
||||||
neovide_transparency = 0.8;
|
neovide_transparency = 0.8;
|
||||||
neovide_padding_top = 10;
|
neovide_padding_top = 10;
|
||||||
neovide_padding_bottom = 10;
|
neovide_padding_bottom = 10;
|
||||||
@@ -202,6 +188,8 @@ in {
|
|||||||
neovide_padding_right = 10;
|
neovide_padding_right = 10;
|
||||||
neovide_floating_blur_amount_x = 10;
|
neovide_floating_blur_amount_x = 10;
|
||||||
neovide_floating_blur_amount_y = 10;
|
neovide_floating_blur_amount_y = 10;
|
||||||
|
neovide_floating_shadow = false;
|
||||||
|
neovide_cursor_vfx_mode = "pixiedust";
|
||||||
};
|
};
|
||||||
|
|
||||||
clipboard = {
|
clipboard = {
|
||||||
@@ -229,6 +217,7 @@ in {
|
|||||||
local flavour = require("catppuccin").options.background[vim.o.background]
|
local flavour = require("catppuccin").options.background[vim.o.background]
|
||||||
local palette = require("catppuccin.palettes").get_palette(flavour)
|
local palette = require("catppuccin.palettes").get_palette(flavour)
|
||||||
vim.cmd("hi Normal guibg=" .. palette.base)
|
vim.cmd("hi Normal guibg=" .. palette.base)
|
||||||
|
vim.cmd("set pumblend=100")
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -197,14 +197,38 @@
|
|||||||
noto-fonts-cjk
|
noto-fonts-cjk
|
||||||
noto-fonts-emoji
|
noto-fonts-emoji
|
||||||
fira-code
|
fira-code
|
||||||
(nerdfonts.override {fonts = ["JetBrainsMono" "Noto" "NerdFontsSymbolsOnly"];})
|
(nerdfonts.override {fonts = ["FiraCode" "JetBrainsMono" "Noto" "NerdFontsSymbolsOnly"];})
|
||||||
];
|
];
|
||||||
fontconfig = {
|
fontconfig = {
|
||||||
defaultFonts = {
|
defaultFonts = {
|
||||||
monospace = ["JetBrainsMono Nerd Font"];
|
monospace = ["FiraCode Nerd Font"];
|
||||||
sansSerif = ["Noto Sans Nerd Font"];
|
sansSerif = ["Noto Sans Nerd Font"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user