Skip to content

Commit

Permalink
feat: add kitty detection
Browse files Browse the repository at this point in the history
  • Loading branch information
nullchilly committed Sep 2, 2023
1 parent f36fa5c commit d3da439
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -97,7 +97,7 @@ require("catppuccin").setup({
transparent_background = false, -- disables setting the background color.
show_end_of_buffer = false, -- shows the '~' characters after the end of buffers
term_colors = false, -- sets terminal colors (e.g. `g:terminal_color_0`)
kitty = false, -- workaround for kitty transparency issue: https://github.com/kovidgoyal/kitty/issues/2917
kitty = vim.env.KITTY_WINDOW_ID and true or false, -- https://github.com/kovidgoyal/kitty/issues/2917
dim_inactive = {
enabled = false, -- dims the background color of inactive window
shade = "dark",
Expand Down
2 changes: 1 addition & 1 deletion lua/catppuccin/init.lua
Expand Up @@ -12,7 +12,7 @@ local M = {
transparent_background = false,
show_end_of_buffer = false,
term_colors = false,
kitty = false,
kitty = vim.env.KITTY_WINDOW_ID and true or false,
dim_inactive = {
enabled = false,
shade = "dark",
Expand Down

0 comments on commit d3da439

Please sign in to comment.