GithubHelp home page GithubHelp logo

catppuccin / wezterm Goto Github PK

View Code? Open in Web Editor NEW
198.0 5.0 2.0 2.36 MB

:shell: Soothing pastel theme for WezTerm

License: MIT License

Lua 100.00%
catppuccin wezterm wezterm-colorscheme wezterm-config pastel-colors terminal terminal-colors fancy hacktoberfest

wezterm's Introduction

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

wezterm's People

Contributors

ludopinelli avatar nekowinston avatar pocco81 avatar shunsambongi avatar unseen-ninja avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

teenjuna vihu

wezterm's Issues

Move to Lua-only theme file

Right now the theme is a bit divided: one part is in colors/Catppuccin.toml file, another part is directly in the wezterm.lua. This is a bit frustrating.

I propose to get rid of the colors/Catppuccin.toml file and implement the theme in a single colors/Catppuccin.lua file, like I did here. Then just import the file in wezterm.lua like this:

local catppuccin = require("colors/Catppuccin")

return {
  colors = catppuccin,
  -- everything else
}

Which-key & Noice bg-color orange

Hello,

I tried out the plugin, but I'm wondering why my which-key bg is orange and same for the noice prompt. Is this intended?
And if so, how could I best change it myself?
image

Usually it would look like this for example.
image

Thanks a lot!

Invert tab background color for Latte (retro)

I think it makes more sense for the dark gray tabs to be the ones that are unfocused, and the light one to be the active one for the retro style.

How it is right now:
image

What I mean:
image

[Suggestion] Support wezterm directly

Hello, thank you for your excellent color schemes. I primarily use wezterm and thought it would be preferable to add support for catppuccin directly in wezterm. To that end I have opened a PR for wezterm. Would be helpful if you could also review ๐Ÿ™‚

Block cursor makes letter invisible

Hi,

using a block cursor (vi mode) makes the letters invisible.
config.force_reverse_video_cursor = true fixes the problem but has other implications for the cursor color.
Maybe this can be fixed or mentioned in the readme.

configure wrong apperance after upgrade wezterm(homebrew)

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.