30 lines
743 B
Lua
30 lines
743 B
Lua
-- Pull in the wezterm API
|
|
local wezterm = require 'wezterm'
|
|
|
|
-- This will hold the configuration.
|
|
local config = wezterm.config_builder()
|
|
|
|
config.enable_tab_bar= false
|
|
config.scrollback_lines = 3500
|
|
config.default_cursor_style = 'BlinkingUnderline'
|
|
config.window_background_opacity = 0.8
|
|
config.window_padding = {
|
|
left = 2,
|
|
right = 2,
|
|
top = 0,
|
|
bottom = 0,
|
|
}
|
|
|
|
-- For example, changing the initial geometry for new windows:
|
|
config.initial_cols = 120
|
|
config.initial_rows = 30
|
|
config.enable_scroll_bar = true
|
|
config.color_scheme_dirs = { '~/.config/iTerm2-Color-Schemes' }
|
|
|
|
-- or, changing the font size and color scheme.
|
|
config.font_size = 10
|
|
config.color_scheme = 'Ollie'
|
|
|
|
-- Finally, return the configuration to wezterm:
|
|
return config
|