laptop-dots/.config/wezterm/wezterm.lua
2023-02-19 22:07:04 -08:00

44 lines
1.1 KiB
Lua

local wezterm = require 'wezterm'
local act = wezterm.action
local home = os.getenv("HOME")
wezterm.add_to_config_reload_watch_list(home .. '/.cache/wal/col.toml')
return {
warn_about_missing_glyphs = false,
mouse_bindings = {
{
event = { Down = { streak = 1, button = { WheelUp = 1 } } },
mods = 'CTRL',
action = act.IncreaseFontSize,
},
{
event = { Down = { streak = 1, button = { WheelDown = 1 } } },
mods = 'CTRL',
action = act.DecreaseFontSize,
},
},
adjust_window_size_when_changing_font_size = false,
window_decorations = "NONE",
initial_rows = 50,
initial_cols = 140,
enable_tab_bar = false,
enable_scroll_bar = false,
underline_position = -1,
cursor_thickness = 1,
max_fps = 165,
window_close_confirmation = 'NeverPrompt',
window_padding = {
right = 0,
left = 0,
top = 0,
bottom = 0,
},
font = wezterm.font("mononoki Nerd Font", { weight = 'Medium' }),
font_size = 12.0,
color_scheme_dirs = { home .. '/.cache/wal' },
color_scheme = "Pywal",
window_background_opacity = .9,
}