Edit page wezterm
authorAnonymousCoward <AnonymousCoward@192.31.242.196>
Mon, 22 Nov 2021 03:24:56 +0000 (22:24 -0500)
committerGeekiGeeki <webmaster@codewiz.org>
Mon, 22 Nov 2021 03:24:56 +0000 (22:24 -0500)
wezterm [new file with mode: 0644]

diff --git a/wezterm b/wezterm
new file mode 100644 (file)
index 0000000..5086864
--- /dev/null
+++ b/wezterm
@@ -0,0 +1,70 @@
+local wezterm = require 'wezterm';
+
+return {
+  automatically_reload_config = true,
+  enable_scroll_bar = true,
+
+  -- color_scheme = "Batman",
+  -- font = wezterm.font("Lucida Console", {}),
+  -- font = wezterm.font("Noto Sans Mono", {}),
+  font_size = 9.0,
+  harfbuzz_features = {"calt=0", "clig=0", "liga=0"},
+
+  audible_bell = "Disabled",
+  visual_bell = {
+    fade_in_duration_ms = 0,
+    fade_out_duration_ms = 50,
+    target = "BackgroundColor",
+    -- target = "CursorColor",
+  },
+  colors = {
+    cursor_bg = "yellow",
+    cursor_fg = "black",
+    visual_bell = "#661111",
+    split = "#888888",
+  },
+  window_background_opacity = 1.0,
+  window_background_gradient = {
+    orientation = "Vertical",
+    colors = {
+      "#222244",
+      "#111133",
+      "#110808"
+    },
+    -- preset = "Warm",
+    interpolation = "Linear",
+    blend = "Rgb",
+    noise = 64,
+    -- segment_size = 50,
+    -- segment_smoothness = 0.0,
+  },
+  inactive_pane_hsb = {
+    saturation = 0.7,
+    brightness = 1.0,
+  },
+
+  default_prog = {os.getenv("HOME") .. "/bin/zsh"},
+  keys = {
+    -- {key="r", mods="CMD|SHIFT", action="ReloadConfiguration"},
+    {mods="CTRL|SHIFT", key="d", action=wezterm.action{SplitVertical={domain="CurrentPaneDomain"}}},
+    {mods="CTRL|SHIFT", key="r", action=wezterm.action{SplitHorizontal={domain="CurrentPaneDomain"}}},
+    {mods="CTRL|SHIFT", key="w", action=wezterm.action{CloseCurrentPane={confirm=true}}},
+    {mods="CTRL|SHIFT", key="f", action="ToggleFullScreen"},
+  },
+
+  ssh_domains = {
+    {
+      name = "desk",
+      remote_address = "binnocenti-z2.spacex.corp",
+      remote_wezterm_path = "/home/binnocenti/bin/wezterm",
+      username = "binnocenti",
+    }
+  },
+  tls_clients = {
+    {
+      name = "desktls",
+      remote_address = "binnocenti-z2.spacex.corp:8080",
+      bootstrap_via_ssh = "binnocenti@binnocenti-z2.spacex.corp",
+    }
+  },
+}
\ No newline at end of file