Try using wezterm as my default terminal

This commit is contained in:
Oliver Davies 2024-05-31 19:13:23 +01:00
parent 430ea10ef6
commit a29372ef99
5 changed files with 22 additions and 38 deletions
lib/shared/modules

View file

@ -6,7 +6,7 @@ in {
tmuxinator.enable = true;
terminal = "screen-256color";
terminal = "xterm-256color";
extraConfig = ''
unbind C-b

View file

@ -1,6 +1,25 @@
{
{ pkgs, self, ... }:
let
theme = import "${self}/lib/theme" { inherit pkgs; };
in {
programs.wezterm = {
enable = true;
enableZshIntegration = true;
extraConfig = ''
return {
font = wezterm.font "${theme.fonts.monospace.name}",
-- TODO: use theme.fonts.monospace.size
font_size = 14.0,
hide_tab_bar_if_only_one_tab = true,
line_height = 1.5,
window_padding = {
bottom = 10,
left = 10,
right = 10,
top = 10,
}
}
'';
};
}