Skip to content

configure wrong apperance after upgrade wezterm(homebrew) #14

@cxwx

Description

@cxwx

configure as the method in README.md

local wezterm = require "wezterm"

function scheme_for_appearance(appearance)
  if appearance:find "Dark" then
    return "Catppuccin Mocha"
  else
    return "Catppuccin Latte"
  end
end

return {
  -- ...your existing config
  color_scheme = scheme_for_appearance(wezterm.gui.get_appearance()),
}

when opening new tab is fine,
but when opening new window, it is not correct after upgrade the lastest homebrew wezterm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions