catppuccin theme

This commit is contained in:
Kulvir Singh
2024-09-26 16:29:57 +05:30
parent d96eb3440f
commit e885f43f39
16 changed files with 138 additions and 123 deletions

View File

@@ -1,4 +1,5 @@
include themes/carbonfox.conf
include themes/Catppuccin_Mocha.conf
# include themes/carbonfox.conf
font_family MesloLGS Nerd Font Mono
@@ -6,7 +7,7 @@ font_size 14.0
cursor_shape beam
background_opacity 0.9
background_opacity 0.95
background_blur 10

View File

@@ -1,28 +1,28 @@
return {
"EdenEast/nightfox.nvim",
lazy = false,
priority = 1000,
init = function()
require("nightfox").setup {
transparent_background = true,
}
vim.cmd.colorscheme "carbonfox"
vim.cmd.hi "Comment gui=none"
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
vim.api.nvim_set_hl(0, "NormalNC", { bg = "none" })
vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, {
border = "rounded",
})
vim.lsp.handlers["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help, {
border = "rounded",
})
vim.diagnostic.config {
float = { border = "rounded" },
}
end,
-- "EdenEast/nightfox.nvim",
-- lazy = false,
-- priority = 1000,
-- init = function()
-- require("nightfox").setup {
-- transparent_background = true,
-- }
-- vim.cmd.colorscheme "carbonfox"
--
-- vim.cmd.hi "Comment gui=none"
-- vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
-- vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
-- vim.api.nvim_set_hl(0, "NormalNC", { bg = "none" })
--
-- vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, {
-- border = "rounded",
-- })
--
-- vim.lsp.handlers["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help, {
-- border = "rounded",
-- })
--
-- vim.diagnostic.config {
-- float = { border = "rounded" },
-- }
-- end,
}

View File

@@ -1,28 +1,29 @@
return {
-- "catppuccin/nvim",
-- name = "catpuccin",
-- priority = 1000,
-- lazy = false,
-- init = function()
-- require("catppuccin").setup {
-- transparent_background = true,
-- }
-- vim.cmd.colorscheme "catppuccin"
--
-- vim.cmd.hi "Comment gui=none"
-- vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
-- vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
--
-- vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, {
-- border = "rounded",
-- })
--
-- vim.lsp.handlers["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help, {
-- border = "rounded",
-- })
--
-- vim.diagnostic.config {
-- float = { border = "rounded" },
-- }
-- end,
"catppuccin/nvim",
name = "catpuccin",
priority = 1000,
lazy = false,
init = function()
require("catppuccin").setup {
transparent_background = true,
}
vim.cmd.colorscheme "catppuccin"
vim.cmd.hi "Comment gui=none"
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
vim.api.nvim_set_hl(0, "NormalNC", { bg = "none" })
vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, {
border = "rounded",
})
vim.lsp.handlers["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help, {
border = "rounded",
})
vim.diagnostic.config {
float = { border = "rounded" },
}
end,
}

View File

@@ -3,7 +3,7 @@
add_newline = true
continuation_prompt = '▶▶ '
format = """$directory$all$character"""
palette = "carbonfox"
palette = "catppuccin_mocha"
[aws]
symbol = ""
@@ -91,33 +91,33 @@ git_fg = "#252525"
lang_bg = "#78a9ff"
lang_fg = "#353535"
# [palettes.catppuccin_mocha]
# rosewater = "#f5e0dc"
# flamingo = "#f2cdcd"
# pink = "#f5c2e7"
# mauve = "#cba6f7"
# red = "#f38ba8"
# maroon = "#eba0ac"
# peach = "#fab387"
# yellow = "#f9e2af"
# green = "#a6e3a1"
# teal = "#94e2d5"
# sky = "#89dceb"
# sapphire = "#74c7ec"
# blue = "#89b4fa"
# lavender = "#b4befe"
# text = "#cdd6f4"
# subtext1 = "#bac2de"
# subtext0 = "#a6adc8"
# overlay2 = "#9399b2"
# overlay1 = "#7f849c"
# overlay0 = "#6c7086"
# surface2 = "#585b70"
# surface1 = "#45475a"
# surface0 = "#313244"
# base = "#1e1e2e"
# mantle = "#181825"
# crust = "#11111b"
[palettes.catppuccin_mocha]
rosewater = "#f5e0dc"
flamingo = "#f2cdcd"
pink = "#f5c2e7"
mauve = "#cba6f7"
red = "#f38ba8"
maroon = "#eba0ac"
peach = "#fab387"
yellow = "#f9e2af"
green = "#a6e3a1"
teal = "#94e2d5"
sky = "#89dceb"
sapphire = "#74c7ec"
blue = "#89b4fa"
lavender = "#b4befe"
text = "#cdd6f4"
subtext1 = "#bac2de"
subtext0 = "#a6adc8"
overlay2 = "#9399b2"
overlay1 = "#7f849c"
overlay0 = "#6c7086"
surface2 = "#585b70"
surface1 = "#45475a"
surface0 = "#313244"
base = "#1e1e2e"
mantle = "#181825"
crust = "#11111b"
[python]
symbol = " "

View File

@@ -13,7 +13,7 @@ set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows on
# set -g @plugin 'catppuccin/tmux'
set -g @plugin 'catppuccin/tmux'
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
@@ -33,25 +33,25 @@ bind -r l select-pane -R
# Nightfox colors for Tmux
# Style: carbonfox
# Upstream: https://github.com/edeneast/nightfox.nvim/raw/main/extra/carbonfox/carbonfox.tmux
set -g mode-style "fg=#0c0c0c,bg=#b6b8bb"
set -g message-style "fg=#0c0c0c,bg=#b6b8bb"
set -g message-command-style "fg=#0c0c0c,bg=#b6b8bb"
set -g pane-border-style "fg=#b6b8bb"
set -g pane-active-border-style "fg=#78a9ff"
set -g status "on"
set -g status-justify "left"
set -g status-style "fg=#b5b8bb,bg=#0c0c0c"
set -g status-left-length "100"
set -g status-right-length "100"
set -g status-left-style NONE
set -g status-right-style NONE
set -g status-left ""
set -g status-right "#[fg=#0c0c0c,bg=#b6b8bb,,nobold,nounderscore,noitalics] #W #[fg=#0c0c0c,bg=#78a9ff,bold] #S "
setw -g window-status-activity-style "underscore,fg=#7b7c7e,bg=#0c0c0c"
setw -g window-status-separator ""
setw -g window-status-style "NONE,fg=#7b7c7e,bg=#0c0c0c"
setw -g window-status-format "#[fg=#0c0c0c,bg=#0c0c0c,nobold,nounderscore,noitalics]#[default] #I #{b:pane_current_path} "
setw -g window-status-current-format "#[fg=#0c0c0c,bg=#b6b8bb,bold] #I #{b:pane_current_path} "
# set -g mode-style "fg=#0c0c0c,bg=#b6b8bb"
# set -g message-style "fg=#0c0c0c,bg=#b6b8bb"
# set -g message-command-style "fg=#0c0c0c,bg=#b6b8bb"
# set -g pane-border-style "fg=#b6b8bb"
# set -g pane-active-border-style "fg=#78a9ff"
# set -g status "on"
# set -g status-justify "left"
# set -g status-style "fg=#b5b8bb,bg=#0c0c0c"
# set -g status-left-length "100"
# set -g status-right-length "100"
# set -g status-left-style NONE
# set -g status-right-style NONE
# set -g status-left ""
# set -g status-right "#[fg=#0c0c0c,bg=#b6b8bb,,nobold,nounderscore,noitalics] #W #[fg=#0c0c0c,bg=#78a9ff,bold] #S "
# setw -g window-status-activity-style "underscore,fg=#7b7c7e,bg=#0c0c0c"
# setw -g window-status-separator ""
# setw -g window-status-style "NONE,fg=#7b7c7e,bg=#0c0c0c"
# setw -g window-status-format "#[fg=#0c0c0c,bg=#0c0c0c,nobold,nounderscore,noitalics]#[default] #I #{b:pane_current_path} "
# setw -g window-status-current-format "#[fg=#0c0c0c,bg=#b6b8bb,bold] #I #{b:pane_current_path} "
run '~/.config/tmux/plugins/tpm/tpm'

View File

@@ -6,24 +6,24 @@ local config = {
window_close_confirmation = "NeverPrompt",
font = wezterm.font("MesloLGS Nerd Font Mono"),
font_size = 14.0,
-- color_scheme = "Catppuccin Mocha",
color_scheme = "Carbon Fox",
window_background_opacity = 0.85,
color_scheme = "Catppuccin Mocha",
-- color_scheme = "Carbon Fox",
window_background_opacity = 0.95,
window_padding = {
left = 2,
right = 2,
top = 2,
bottom = 2,
left = 0,
right = 0,
top = 0,
bottom = 0,
},
macos_window_background_blur = 10,
}
-- uncomment this if not using with some wm
-- local mux = wezterm.mux
--
-- wezterm.on("gui-startup", function()
-- local _, _, window = mux.spawn_window({})
-- window:gui_window():maximize()
-- end)
local mux = wezterm.mux
wezterm.on("gui-startup", function()
local _, _, window = mux.spawn_window({})
window:gui_window():maximize()
end)
return config