🐛 fix(wezterm): Set color_scheme

This commit is contained in:
punkfairie 2024-11-02 16:31:19 -07:00
parent 6333b57552
commit d42cc1048e

View file

@ -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" },