summaryrefslogtreecommitdiff
path: root/dot_config/wezterm
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/wezterm')
-rw-r--r--dot_config/wezterm/wezterm.lua.tmpl (renamed from dot_config/wezterm/wezterm.lua)12
1 files changed, 10 insertions, 2 deletions
diff --git a/dot_config/wezterm/wezterm.lua b/dot_config/wezterm/wezterm.lua.tmpl
index 1f587c4..06ac812 100644
--- a/dot_config/wezterm/wezterm.lua
+++ b/dot_config/wezterm/wezterm.lua.tmpl
@@ -1,3 +1,10 @@
+---@diagnostic disable: undefined-global
+-- vim:ft=lua
+
+-- wezterm.lua
+-- Main wezterm config file
+-- {{/* This file supports Go's text/template language. */}}
+
local wezterm = require("wezterm")
local keys = require("keys")
local chezmoi = require("chezmoi")
@@ -18,8 +25,9 @@ local config = {
initial_rows = length,
-- TODO: Create custom color scheme in separate module (colors.lua)
color_scheme = "Gruvbox dark, medium (base16)",
- -- window_background_opacity = 0.9,
-
+ {{- if eq .chezmoi.os "linux" }}
+ window_background_opacity = 0.9,
+ {{ end }}
use_fancy_tab_bar = false,
show_tabs_in_tab_bar = false,
show_new_tab_button_in_tab_bar = false,