🐛 fix(wezterm): Set color_scheme
This commit is contained in:
parent
6333b57552
commit
d42cc1048e
1 changed files with 3 additions and 8 deletions
|
@ -3,9 +3,6 @@
|
||||||
programs.wezterm = {
|
programs.wezterm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
# currently broken
|
|
||||||
# rose-pine.enable = true;
|
|
||||||
|
|
||||||
extraConfig =
|
extraConfig =
|
||||||
let
|
let
|
||||||
fonts = config.fonts.fontconfig.defaultFonts.monospace;
|
fonts = config.fonts.fontconfig.defaultFonts.monospace;
|
||||||
|
@ -14,13 +11,11 @@
|
||||||
''
|
''
|
||||||
local config = wezterm.config_builder()
|
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
|
config.enable_tab_bar = false
|
||||||
|
|
||||||
|
-- TODO: auto-set this depending on color scheme
|
||||||
|
config.color_scheme = "rose-pine"
|
||||||
|
|
||||||
config.font = wezterm.font_with_fallback({
|
config.font = wezterm.font_with_fallback({
|
||||||
{ family = "${builtins.elemAt fonts 0}" },
|
{ family = "${builtins.elemAt fonts 0}" },
|
||||||
{ family = "FairiesevkaTerm Nerd Font Mono" },
|
{ family = "FairiesevkaTerm Nerd Font Mono" },
|
||||||
|
|
Loading…
Reference in a new issue