diff options
Diffstat (limited to 'dot-config/wezterm')
| -rw-r--r-- | dot-config/wezterm/colors/kanso-zen.lua | 40 | ||||
| -rw-r--r-- | dot-config/wezterm/wezterm.lua | 35 |
2 files changed, 75 insertions, 0 deletions
diff --git a/dot-config/wezterm/colors/kanso-zen.lua b/dot-config/wezterm/colors/kanso-zen.lua new file mode 100644 index 0000000..1dcc325 --- /dev/null +++ b/dot-config/wezterm/colors/kanso-zen.lua @@ -0,0 +1,40 @@ +local config = { + force_reverse_video_cursor = true, + colors = { + foreground = "#C5C9C7", + background = "#090E13", + + cursor_bg = "#090E13", + cursor_fg = "#C5C9C7", + cursor_border = "#C5C9C7", + + selection_fg = "#C5C9C7", + selection_bg = "#22262D", + + scrollbar_thumb = "#22262D", + split = "#22262D", + + ansi = { + "#090E13", + "#C4746E", + "#8A9A7B", + "#C4B28A", + "#8BA4B0", + "#A292A3", + "#8EA4A2", + "#A4A7A4", + }, + brights = { + "#A4A7A4", + "#E46876", + "#87A987", + "#E6C384", + "#7FB4CA", + "#938AA9", + "#7AA89F", + "#C5C9C7", + }, + }, +} + +return config diff --git a/dot-config/wezterm/wezterm.lua b/dot-config/wezterm/wezterm.lua new file mode 100644 index 0000000..1efaba2 --- /dev/null +++ b/dot-config/wezterm/wezterm.lua @@ -0,0 +1,35 @@ +local wezterm = require("wezterm") + +wezterm.log_error("Version " .. wezterm.version) + +local config = wezterm.config_builder() + +config.default_prog = { "/usr/bin/bash" } + +-- helper to merge into config +local function mergeConfig(t) + for k, v in pairs(t) do + config[k] = v + end +end + +local theme = require("colors.kanso-zen") +mergeConfig(theme) + +config.font_size = 14 +config.font = wezterm.font("PragmataPro Mono Liga") + +config.window_padding = { + left = "2cell", + right = "2cell", + top = "2cell", + bottom = "1cell", +} + +config.enable_tab_bar = false + +-- lowering the initial cols than the default +-- fixes the problem with niri +config.initial_cols = 64 + +return config |
