Catppuccin for wezterm

View on GitHub

Usage

Catppuccin is now included in WezTerm.

  1. Edit your wezterm.lua
  2. Set colour_scheme to your preferred flavour!
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