add new wezterm config

This commit is contained in:
Lucas Barbieri 2024-01-07 11:24:54 -03:00
parent d1aef26ed2
commit f17b60c53d
4 changed files with 208 additions and 0 deletions

View File

@ -15,3 +15,4 @@ background-color = #000B
text-color = #abb2bf
selection-color = #427573
fuzzy-match = true
drun-launch = true

View File

@ -0,0 +1,43 @@
# name: Flexoki (Dark)
# author: Kepano
# license: MIT
# upstream: https://stephango.com/flexoki
# blurb: An inky color scheme for prose and code[colors]
[colors]
ansi = [
"#100F0F", #Black
"#AF3029", # Red
"#66800B", # Green
"#AD8301", # Yellow
"#205EA6", # Blue
"#5E409D", # Purple
"#24837B", # Cyan
"#CECDC3", # White
]
brights = [
"#575653", # Black
"#D14D41", # Red
"#879A39", # Green
"#D0A215", # Yellow
"#4385BE", # Blue
"#8B7EC8", # Purple
"#3AA99F", # Cyan
"#FFFCF0", # White
]
foreground = "#CECDC3"
background = "#100F0F"
cursor_bg = "#CECDC3"
cursor_border = "#CECDC3"
cursor_fg = "#100F0F"
selection_bg = "#282726"
selection_fg = "#CECDC3"
[colors.indexed]
[metadata]
aliases = ["Flexoki Dark"]
name = "Flexoki Dark"
origin_url = "https://stephango.com/flexoki"
wezterm_version = "Always"

View File

@ -0,0 +1,47 @@
# name: Flexoki (Light)
# author: Kepano
# license: MIT
# upstream: https://stephango.com/flexoki
# blurb: An inky color scheme for prose and code[colors]
[colors]
ansi = [
"#100F0F", # Black
"#AF3029", # Red
"#66800B", # Green
"#AD8301", # Yellow
"#205EA6", # Blue
"#A02F6F", # Magenta
"#24837B", # Cyan
"#DAD8CE", # White
]
brights = [
"#B7B5AC", # Black
"#D14D41", # Red
"#879A39", # Green
"#D0A215", # Yellow
"#4385BE", # Blue
"#CE5D97", # Magenta
"#3AA99F", # Cyan
"#E6E4D9", # White
]
foreground = "#100F0F"
background = "#FFFCF0"
cursor_bg = "#403E3C"
cursor_border = "#403E3C"
cursor_fg = "#FFFCF0"
selection_fg = "#100F0F"
selection_bg = "#E6E4D9"
[colors.indexed]
[metadata]
aliases = ["Flexoki Light"]
name = "Flexoki Light"
origin_url = "https://stephango.com/flexoki"
wezterm_version = "Always"

View File

@ -0,0 +1,117 @@
local wezterm = require("wezterm")
local function font_with_fallback(name, params)
local names = { name, "Apple Color Emoji", "azuki_font", "monospace" }
return wezterm.font_with_fallback(names, params)
end
local font_name = "Cartograph CF Nerd Font"
return {
-- OpenGL for GPU acceleration, Software for CPU
front_end = "OpenGL",
colors = {
foreground = "#bdbdbd",
background = "#080808",
cursor_bg = "#9e9e9e",
cursor_fg = "#080808",
selection_fg = "#080808",
selection_bg = "#b2ceee",
ansi = {
"#323437",
"#ff5454",
"#8cc85f",
"#e3c78a",
"#80a0ff",
"#cf87e8",
"#79dac8",
"#c6c6c6",
},
brights = {
"#949494",
"#ff5189",
"#36c692",
"#c2c292",
"#74b2ff",
"#ae81ff",
"#85dc85",
"#e4e4e4",
},
},
-- Font config
font = font_with_fallback(font_name),
font_rules = {
{
italic = true,
font = font_with_fallback(font_name, { italic = true }),
},
{
italic = true,
font = font_with_fallback(font_name, { bold = true }),
},
{
intensity = "Bold",
font = font_with_fallback(font_name, { bold = true }),
},
},
warn_about_missing_glyphs = false,
font_size = 15,
line_height = 1.0,
dpi = 96.0,
-- Cursor style
default_cursor_style = "BlinkingUnderline",
-- X11
enable_wayland = false,
-- Keybinds
disable_default_key_bindings = true,
keys = {
-- standard copy/paste bindings
{
key = "x",
mods = "CTRL",
action = "ActivateCopyMode",
},
{
key = "v",
mods = "CTRL|SHIFT",
action = wezterm.action({ PasteFrom = "Clipboard" }),
},
{
key = "c",
mods = "CTRL|SHIFT",
action = wezterm.action({ CopyTo = "ClipboardAndPrimarySelection" }),
},
},
-- Aesthetic Night Colorscheme
bold_brightens_ansi_colors = true,
-- Padding
window_padding = {
left = 15,
right = 15,
top = 15,
bottom = 15,
},
-- Tab Bar
hide_tab_bar_if_only_one_tab = true,
show_tab_index_in_tab_bar = false,
tab_bar_at_bottom = true,
-- General
automatically_reload_config = true,
inactive_pane_hsb = { saturation = 1.0, brightness = 1.0 },
window_background_opacity = 0.85,
window_close_confirmation = "NeverPrompt",
window_frame = { active_titlebar_bg = "#45475a", font = font_with_fallback(font_name, { bold = true }) },
-- color_scheme_dirs = { "~/.config/wezterm/colors" },
-- color_scheme = "Flexoki Dark",
}