diff --git a/home/apps/fonts.nix b/home/apps/fonts.nix index 796867c..d6f711c 100644 --- a/home/apps/fonts.nix +++ b/home/apps/fonts.nix @@ -19,6 +19,7 @@ }; home.packages = with pkgs; [ (nerdfonts.override {fonts = ["NerdFontsSymbolsOnly"];}) + cascadia-code victor-mono ibm-plex xkcd-font diff --git a/home/apps/wezterm/keys.lua b/home/apps/wezterm/keys.lua index 38087c0..3eec143 100644 --- a/home/apps/wezterm/keys.lua +++ b/home/apps/wezterm/keys.lua @@ -14,13 +14,9 @@ local map = function(key, mods, action) end end -if wezterm.GLOBAL.enable_tab_bar == nil then - wezterm.GLOBAL.enable_tab_bar = true -end local toggleTabBar = wezterm.action_callback(function(window) - wezterm.GLOBAL.enable_tab_bar = not wezterm.GLOBAL.enable_tab_bar window:set_config_overrides({ - enable_tab_bar = wezterm.GLOBAL.enable_tab_bar, + enable_tab_bar = not window:effective_config().enable_tab_bar, }) end) diff --git a/home/apps/wezterm/wezterm.lua b/home/apps/wezterm/wezterm.lua index 9cd8470..842211b 100644 --- a/home/apps/wezterm/wezterm.lua +++ b/home/apps/wezterm/wezterm.lua @@ -1,18 +1,24 @@ local wezterm = require("wezterm") local c = wezterm.config_builder() - require("keys").apply(c) -c.font = wezterm.font_with_fallback({ "Berkeley Mono", "Symbols Nerd Font" }) +c.font = wezterm.font_with_fallback({ + "Cascadia Code", + "Symbols Nerd Font", +}) +c.font_size = 13 +c.harfbuzz_features = { "calt=1", "ss01=1" } +c.command_palette_font_size = c.font_size * 1.1 +c.window_frame = { + font = wezterm.font("IBM Plex Sans"), + font_size = c.font_size, +} c.window_decorations = "RESIZE" -c.window_padding = { left = 0, right = 0, top = 0, bottom = 0 } -c.inactive_pane_hsb = { saturation = 1.0, brightness = 0.8 } +c.window_padding = { left = 0, right = 0, top = 20, bottom = 0 } c.adjust_window_size_when_changing_font_size = false c.audible_bell = "Disabled" -c.clean_exit_codes = { 130 } c.default_cursor_style = "BlinkingBar" -c.command_palette_font_size = 13.0 -c.window_frame = { font_size = 13.0 } +c.inactive_pane_hsb = { brightness = 0.90 } wezterm.plugin .require("https://github.com/catppuccin/wezterm")