wezterm fixes

This commit is contained in:
cnst
2024-07-26 18:53:50 +02:00
parent 29da8ca94a
commit b614f69039
9 changed files with 241 additions and 177 deletions

View File

@@ -44,9 +44,9 @@
# utmp-helper=/usr/libexec/ulog-helper # When utmp backend is ulog (FreeBSD)
main = {
font = "Input Mono Compressed:size=10";
font = "Input Mono Compressed:size=12";
box-drawings-uses-font-glyphs = "yes";
dpi-aware = "yes";
dpi-aware = "no";
pad = "3x1";
};

View File

@@ -87,7 +87,7 @@
"<C-v>" = "<esc>p";
};
in
config.nixvim.helpers.keymaps.mkKeymaps
config.lib.nixvim.keymaps.mkKeymaps
{options.silent = true;}
(normal ++ visual ++ insert);
};

View File

@@ -1,9 +1,24 @@
{
pkgs,
inputs,
...
}: {
programs.wezterm = {
enable = true;
enableZshIntegration = true;
# extraConfig = ''
# config.color_scheme = "Gruvbox Material (Gogh)"
# '';
package = inputs.wezterm.packages.${pkgs.system}.default;
extraConfig = ''
return {
font = wezterm.font("Input Mono Compressed"),
font_size = 12,
check_for_updates = false,
color_scheme = 'Gruvbox Material (Gogh)',
default_cursor_style = 'SteadyBar',
enable_scroll_bar = true,
hide_tab_bar_if_only_one_tab = true,
scrollback_lines = 10000,
window_background_opacity = 0.9,
}
'';
};
}

View File

@@ -1,7 +1,6 @@
{
config,
pkgs,
inputs,
...
}: {
imports = [
@@ -18,7 +17,7 @@
programs.yazi = {
enable = true;
package = inputs.yazi.packages.${pkgs.system}.default;
package = pkgs.yazi;
enableBashIntegration = config.programs.bash.enable;
enableZshIntegration = config.programs.zsh.enable;

View File

@@ -14,6 +14,7 @@
../../core/tui/shell/cnst.nix
../../core/tui/foot
../../core/tui/alacritty
../../core/tui/wezterm
../../core/tui/neovim
../../core/tui/yazi
# core.services