summaryrefslogtreecommitdiff
path: root/dot_config/wezterm
diff options
context:
space:
mode:
authorIbrahim Muftee <ibrahim@muftee.net>2024-06-04 17:09:48 -0500
committerIbrahim Muftee <ibrahim@muftee.net>2026-07-01 00:23:31 -0400
commita50959e31db399713e94241c1f6436d1c2210426 (patch)
treea3b412dc3c7df64197297dd786ed33b632949d41 /dot_config/wezterm
parent27a4d9d1702217e8e7b8aa211421ffcce5717828 (diff)
feat(wezterm): make backround transparent in linux only
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,