dotfiles/dot_config/wezterm/wezterm.lua

46 lines
1.1 KiB
Lua
Raw Normal View History

2022-07-30 07:17:12 +02:00
local wezterm = require("wezterm")
local fonts = require("fonts")
local theme = require("theme")
require("bar")
2022-07-30 07:17:12 +02:00
local font = fonts.get_font("berkeley")
2022-07-30 07:17:12 +02:00
return {
2022-12-22 03:18:49 +01:00
-- keys
disable_default_key_bindings = true,
leader = { key = "s", mods = "CTRL", timeout_milliseconds = 5000 },
keys = require("shortcuts"),
-- font
font = font.font,
font_size = font.size,
-- window
window_decorations = "RESIZE",
window_padding = {
left = 0,
right = 0,
top = 0,
bottom = 0,
},
inactive_pane_hsb = {
saturation = 1.0,
brightness = 0.6,
},
-- theme
color_schemes = theme.get_custom_colorschemes(),
color_scheme = theme.scheme_for_appearance(wezterm.gui.get_appearance(), {
dark = "OLEDppuccin",
light = "Catppuccin Latte",
}),
-- tab bar
hide_tab_bar_if_only_one_tab = false,
tab_bar_at_bottom = true,
tab_max_width = 32,
use_fancy_tab_bar = false,
-- etc.
adjust_window_size_when_changing_font_size = false,
audible_bell = "Disabled",
clean_exit_codes = { 130 },
default_cursor_style = "BlinkingBar",
enable_scroll_bar = false,
2022-07-30 07:17:12 +02:00
}