Created
May 19, 2024 13:36
-
-
Save K4R7IK/854a3440a37dba36c89ff9804e990231 to your computer and use it in GitHub Desktop.
Wezterm Configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--Pull in the wezterm API | |
local wezterm = require("wezterm") | |
-- This table will hold the configurations | |
local config = {} | |
-- Calling config builder | |
if wezterm.config_builder then | |
config = wezterm.config_builder() | |
end | |
-- Colorscheme | |
local custom = wezterm.color.get_builtin_schemes()["HorizonDark (Gogh)"] | |
custom.background = "#0d1117" | |
config.color_schemes = { | |
["Alpha-Custom"] = custom, | |
} | |
config.color_scheme = "Alpha-Custom" | |
config.window_background_opacity = 0.95 | |
-- Configuring fonts. | |
config.font = wezterm.font("Maple Mono", { weight = "Regular" }) | |
config.font_size = 15 | |
-- Configuring tab bar | |
config.window_frame = { | |
font = wezterm.font({ family = "Maple Mono", weight = "Bold" }), | |
font_size = 12, | |
active_titlebar_bg = "#19212d", | |
inactive_titlebar_bg = "#0A1111", | |
} | |
config.tab_bar_at_bottom = true | |
config.hide_tab_bar_if_only_one_tab = true | |
config.use_fancy_tab_bar = true | |
-- Configuring Window Padding | |
config.window_padding = { | |
left = 10, | |
right = 10, | |
top = 10, | |
bottom = 10, | |
} | |
-- Scrollbar | |
config.enable_scroll_bar = true | |
-- Command Palette customization | |
config.command_palette_bg_color = "#0d1117" | |
config.command_palette_fg_color = "#fff" | |
config.command_palette_font_size = 12 | |
config.keys = { | |
{ | |
key = "p", | |
mods = "CTRL", | |
action = wezterm.action.ActivateCommandPalette, | |
}, | |
} | |
-- Window Decoration | |
config.window_decorations = "NONE" | |
return config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment