2023-04-12 02:36:30 +02:00
2023-03-06 03:03:57 +01:00
2023-04-12 02:36:30 +02:00
2022-09-27 02:41:54 +02:00
2021-11-06 22:51:38 -05:00
2023-03-06 03:03:57 +01:00

Logo
Catppuccin for WezTerm

Usage

Catppuccin is now included in WezTerm.

  1. Edit your wezterm.lua.
  2. Set color_scheme to your preferred flavor.
return {
  -- ...your existing config
  color_scheme = "Catppuccin Mocha", -- or Macchiato, Frappe, Latte
}
  1. (Optional) To enable syncing with your OS theme, use wezterm.gui.get_appearance()
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()),
}

🙋 FAQ

local wezterm = require("wezterm")

local custom = wezterm.color.get_builtin_schemes()["Catppuccin Mocha"]
custom.background = "#000000"
custom.tab_bar.background = "#040404"
custom.tab_bar.inactive_tab.bg_color = "#0f0f0f"
custom.tab_bar.new_tab.bg_color = "#080808"

return {
  color_schemes = {
    ["OLEDppuccin"] = custom,
  },
  color_scheme = "OLEDppuccin",
}

💝 Thanks to

 

Copyright © 2021-present Catppuccin Org

Description
No description provided
Readme MIT 2.4 MiB
Languages
Lua 100%