summaryrefslogtreecommitdiff
path: root/dot_config/wezterm/wezterm.lua
blob: bdfcfcb80341d96b38041ecbdac73a60be50b381 (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
local wezterm = require("wezterm")
local keys = require("keys")
local chezmoi = require("chezmoi")

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

local font_size = 12

local config = {
    font = font,
    font_size = font_size,
    color_scheme = "Gruvbox dark, medium (base16)", -- TODO: Create custom color scheme in separate module (colors.lua)
    window_background_opacity = 0.9,

    use_fancy_tab_bar = false,
    show_tabs_in_tab_bar = false,
    show_new_tab_button_in_tab_bar = false,

    default_prog = { chezmoi.shell }, -- TODO: Change default shell when OS changes

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

return config