Created
December 27, 2024 15:26
-
-
Save bobuk/f8c2489eed9522a8a2526c90c683fab9 to your computer and use it in GitHub Desktop.
.wezterm.lua
This file contains 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
local wezterm = require("wezterm") | |
local config = wezterm.config_builder() | |
config.color_scheme = "Earthsong" | |
config.window_frame = { | |
font_size = 12, | |
} | |
config.command_palette_font_size = 16 | |
config.tab_bar_at_bottom = true | |
config.hide_tab_bar_if_only_one_tab = false | |
config.window_decorations = "RESIZE" | |
config.font = wezterm.font_with_fallback({ | |
{ family = "Victor Mono", weight = "Regular" }, | |
-- { family = "Iosevka Nerd Font", weight = "Light" }, | |
}) | |
config.font_size = 18 | |
config.front_end = "OpenGL" | |
config.freetype_load_target = "Light" | |
config.freetype_render_target = "HorizontalLcd" | |
config.cell_width = 0.9 | |
config.window_background_opacity = 0.99 | |
config.initial_rows = 40 | |
config.initial_cols = 150 | |
config.keys = { | |
{ key = "Enter", mods = "ALT", action = "DisableDefaultAssignment" }, | |
{ key = "p", mods = "SHIFT|SUPER", action = wezterm.action.ActivateCommandPalette }, | |
{ | |
key = "|", | |
mods = "SHIFT|ALT", | |
action = wezterm.action({ SplitHorizontal = { domain = "CurrentPaneDomain" } }), | |
}, | |
{ | |
key = "_", | |
mods = "SHIFT|ALT", | |
action = wezterm.action({ SplitVertical = { domain = "CurrentPaneDomain" } }), | |
}, | |
{ key = "LeftArrow", mods = "ALT|SHIFT", action = wezterm.action({ ActivatePaneDirection = "Left" }) }, | |
{ key = "RightArrow", mods = "ALT|SHIFT", action = wezterm.action({ ActivatePaneDirection = "Right" }) }, | |
{ key = "UpArrow", mods = "ALT|SHIFT", action = wezterm.action({ ActivatePaneDirection = "Up" }) }, | |
{ key = "DownArrow", mods = "ALT|SHIFT", action = wezterm.action({ ActivatePaneDirection = "Down" }) }, | |
} | |
local bar = wezterm.plugin.require("https://github.com/adriankarlen/bar.wezterm") | |
bar.apply_to_config(config) | |
return config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment