feat: change default font

This commit is contained in:
2024-01-18 08:47:08 +01:00
parent 547f02d2b1
commit 272031aaed
7 changed files with 38 additions and 37 deletions

View File

@@ -39,7 +39,7 @@
};
master = {
orientation = "center";
new_is_master = false;
new_is_master = true;
always_center_master = true;
mfact = 0.4;
};

View File

@@ -3,7 +3,7 @@
"SUPER,T,exec,kitty"
"SUPER,TAB,exec,ags -t overview"
"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,P,togglefloating,"
"SUPER,P,pin,"

View File

@@ -1,30 +1,15 @@
{pkgs}: {
enable = true;
/*
package = pkgs.kitty.overrideAttrs (prev: {
src = pkgs.lib.fetchFromGitHub {
owner = "nightuser";
repo = "kitty";
rev = ""
};
});
*/
shellIntegration.enableFishIntegration = true;
font = {
package = pkgs.jetbrains-mono;
name = "JetBrains Mono";
size = 13;
};
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
font_size 13
include ./current-theme.conf
'';
settings = {
background_opacity = "0.8";
window_padding_width = 10;
cursor = "#928374";
cursor_text_color = "background";
};
}

View File

@@ -18,7 +18,7 @@
tartube
yt-dlp
# youtube-music.override {electron = pkgs.electron_28;})
vlc
mpv
makemkv
handbrake
metadata-cleaner

View File

@@ -1,6 +1,9 @@
maximized = false
[font]
normal = ["JetBrainsMono NF"]
normal = ["FiraCode Nerd Font"]
size = 16
edging = "subpixelantialias"
[font.features]
"FiraCode Nerd Font" = ["+zero", "+onum", "+ss04", "+cv19", "+cv23", "+ss09", "+cv27", "+ss06", "+ss07", "+ss10"]

View File

@@ -5,18 +5,6 @@
nodejs = pkgs.nodejs_18;
})
."@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 {
name = "darkman";
src = pkgs.buildGoModule rec {
@@ -193,8 +181,6 @@ in {
mergetool_layout = "mr";
mergetool_prefer_revision = "local";
guifont = "JetBrains_Mono:h12";
neovide_transparency = 0.8;
neovide_padding_top = 10;
neovide_padding_bottom = 10;
@@ -202,6 +188,8 @@ in {
neovide_padding_right = 10;
neovide_floating_blur_amount_x = 10;
neovide_floating_blur_amount_y = 10;
neovide_floating_shadow = false;
neovide_cursor_vfx_mode = "pixiedust";
};
clipboard = {
@@ -229,6 +217,7 @@ in {
local flavour = require("catppuccin").options.background[vim.o.background]
local palette = require("catppuccin.palettes").get_palette(flavour)
vim.cmd("hi Normal guibg=" .. palette.base)
vim.cmd("set pumblend=100")
end,
})
end

View File

@@ -197,14 +197,38 @@
noto-fonts-cjk
noto-fonts-emoji
fira-code
(nerdfonts.override {fonts = ["JetBrainsMono" "Noto" "NerdFontsSymbolsOnly"];})
(nerdfonts.override {fonts = ["FiraCode" "JetBrainsMono" "Noto" "NerdFontsSymbolsOnly"];})
];
fontconfig = {
defaultFonts = {
monospace = ["JetBrainsMono Nerd Font"];
monospace = ["FiraCode 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";
};
};