feat(font): Use monaspace Krypton

This commit is contained in:
Uttarayan Mondal
2024-04-16 20:22:58 +05:30
parent 28c77e80cd
commit 5c68944f71
7 changed files with 15 additions and 10 deletions

View File

@@ -90,6 +90,7 @@ in {
cachix
fzf
(nerdfonts.override {fonts = ["Hasklig"];})
monaspace
pfetch-rs
hotedit
(pkgs.wrapMpv
@@ -275,8 +276,8 @@ in {
base_url = "https://pass.uttarayan.me";
pinentry =
if device.isMac
# then pkgs.pinentry_mac
then pkgs.pinentry-curses
then pkgs.pinentry_mac
# then pkgs.pinentry-curses
else pkgs.pinentry-gnome3;
};
};

View File

@@ -6,7 +6,8 @@
programs.kitty = {
enable = device.hasGui;
font = {
name = "Hasklug Nerd Font Mono";
# name = "Hasklug Nerd Font Mono";
name = "Monaspace Krypton Var Medium";
size = 13;
};
settings = {

View File

@@ -14,6 +14,7 @@
return {
term = "wezterm",
font = wezterm.font_with_fallback({
"Monaspace Krypton",
"Hasklug Nerd Font Mono",
"Symbols Nerd Font Mono"
}),
@@ -24,7 +25,7 @@
window_background_opacity = 0.8,
cursor_blink_rate = 8,
default_cursor_style = "BlinkingBlock",
default_prog = { "${pkgs.fish.outPath}/bin/fish", "-l" },
default_prog = { "${pkgs.fish}/bin/fish", "-l" },
window_padding = {
left = 2,
right = 0,

2
flake.lock generated
View File

@@ -1239,7 +1239,7 @@
},
"locked": {
"lastModified": 1,
"narHash": "sha256-vI2Aw+fUWRppZuFnPyD0nvhKB4IdaX00AoXJAgsydjM=",
"narHash": "sha256-Z+jHiHfkHgc42uzQpNO1XYh9RNYzzZYNda35WJx5ib0=",
"path": "./neovim",
"type": "path"
},

View File

@@ -9,7 +9,8 @@
settings = {
main = {
shell = "${pkgs.fish.outPath}/bin/fish";
font = "Hasklug Nerd Font Mono:size=13";
# font = "Hasklug Nerd Font Mono:size=13";
font = "Monaspace Krypton:size=13";
initial-window-size-pixels = "1440x800";
};
colors = {

View File

@@ -485,7 +485,8 @@ in rec {
}
}
else
vim.o.guifont = "Hasklug Nerd Font Mono:h13"
vim.o.guifont = "Monaspace Krypton:h13"
-- vim.o.guifont = "Hasklug Nerd Font Mono:h13"
vim.g.neovide_cursor_vfx_mode = "railgun"
end
@@ -558,8 +559,7 @@ in rec {
command = function(meta)
local db = os.getenv("DATABASE_PATH")
if db == nil then
local filename = vim.api.nvim_buf_get_name(meta.current_bufnr)
return { '${pkgs.sqlite}/bin/sqlite3', ':memory:', filename}
return { '${pkgs.sqlite}/bin/sqlite3', ':memory:' }
else
return { '${pkgs.sqlite}/bin/sqlite3', db }
end
@@ -569,7 +569,7 @@ in rec {
},
-- How the repl window will be displayed
-- See below for more information
repl_open_cmd = require('iron.view').right(40),
repl_open_cmd = require('iron.view').right(60),
},
-- Iron doesn't set keymaps by default anymore.
-- You can set them here or manually add keymaps to the functions in iron.core

View File

@@ -219,6 +219,7 @@
gnumake
python3
(nerdfonts.override {fonts = ["FiraCode" "Hasklig"];})
monaspace
];
sessionVariables = {
WLR_NO_HARDWARE_CURSORS = "1";