summaryrefslogtreecommitdiff
path: root/dot_config/wezterm/wezterm.lua
blob: 16a04159ac2a0df379a00c75d63fa220be5a1f6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---@diagnostic disable: undefined-global
-- vim:ft=lua

-- wezterm.lua
-- Main wezterm config file
--

local wezterm = require("wezterm")
local keys = require("keys")
-- local tabs = require("tabs")
local chezmoi = require("chezmoi")

local font = wezterm.font_with_fallback({
    { family = "Iosevka Nerd Font" },
    { family = "JetBrains Mono" },
})

local font_size = chezmoi.font_size
local width = 205
local length = 100

local config = {
    font = font,
    font_size = font_size,
    initial_cols = width,
    initial_rows = length,
    -- TODO: Create custom color scheme in separate module (colors.lua)
    color_scheme = "rose-pine",
    -- window_background_opacity = 0.7,
    -- window_decorations = "NONE | RESIZE",

    enable_tab_bar = false,
    -- use_fancy_tab_bar = false,
    -- show_tabs_in_tab_bar = false,
    -- show_new_tab_button_in_tab_bar = false,
    -- tab_bar_style = tabs.tab_bar_style,

    default_prog = { chezmoi.shell },

    leader = keys.leader,
    keys = keys.key_bindings,
}

return config