From d42cc1048e283e3237e22f5290b5e05399aee335 Mon Sep 17 00:00:00 2001 From: punkfairie Date: Sat, 2 Nov 2024 16:31:19 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(wezterm):=20Set=20color=5Fsc?= =?UTF-8?q?heme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/wezterm/default.nix | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/home/wezterm/default.nix b/home/wezterm/default.nix index 164d38a..67c8599 100644 --- a/home/wezterm/default.nix +++ b/home/wezterm/default.nix @@ -3,9 +3,6 @@ programs.wezterm = { enable = true; - # currently broken - # rose-pine.enable = true; - extraConfig = let fonts = config.fonts.fontconfig.defaultFonts.monospace; @@ -14,13 +11,11 @@ '' local config = wezterm.config_builder() - -- TODO: Only add this when using rose-pine - local theme = wezterm.plugin.require('https://github.com/neapsix/wezterm').main - - config.colors = theme.colors() - config.enable_tab_bar = false + -- TODO: auto-set this depending on color scheme + config.color_scheme = "rose-pine" + config.font = wezterm.font_with_fallback({ { family = "${builtins.elemAt fonts 0}" }, { family = "FairiesevkaTerm Nerd Font Mono" },