summaryrefslogtreecommitdiff
path: root/dot-config/wezterm/wezterm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'dot-config/wezterm/wezterm.lua')
-rw-r--r--dot-config/wezterm/wezterm.lua35
1 files changed, 35 insertions, 0 deletions
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