dotfiles/home/private_dot_config/wezterm/wezterm.lua

40 lines
1.1 KiB
Lua
Raw Normal View History

2022-06-13 12:26:11 -05:00
local wezterm = require("wezterm")
local padding = 10
2024-01-29 10:34:14 -06:00
2024-05-22 12:53:47 -05:00
local config = wezterm.config_builder()
2024-01-29 10:34:14 -06:00
config.check_for_updates = false
config.window_padding = {
left = padding,
right = padding,
top = padding,
bottom = padding,
2022-06-13 12:26:11 -05:00
}
2024-01-29 10:34:14 -06:00
2024-08-20 14:59:23 -05:00
-- https://github.com/NixOS/nixpkgs/issues/336069
-- https://github.com/wez/wezterm/issues/5990
-- why though front_end ?
-- OpenGL on nix?
config.front_end = "WebGpu"
2024-06-10 14:51:55 -05:00
config.color_scheme = "Catppuccin Mocha"
2024-01-29 10:34:14 -06:00
config.use_fancy_tab_bar = false
config.hide_tab_bar_if_only_one_tab = true
config.tab_bar_at_bottom = true
2024-05-22 12:53:47 -05:00
config.font = wezterm.font("MonoLisa Nerd Font")
-- config.disable_default_key_bindings = true
-- config.bold_brightens_ansi_colors = true
2024-03-14 09:47:25 -05:00
-- config.window_background_opacity = .9
-- config.text_background_opacity = .9
2024-05-22 12:53:47 -05:00
config.hyperlink_rules = wezterm.default_hyperlink_rules()
config.hide_mouse_cursor_when_typing = false
config.adjust_window_size_when_changing_font_size = false
config.initial_cols = 80
config.enable_wayland = false
config.keys = require("keys")
config.default_gui_startup_args = { "start", "--always-new-process" }
2024-01-29 10:34:14 -06:00
return config