wezterm: revised the sample config file

This commit is contained in:
John McQuah 2022-06-13 09:01:30 -04:00
parent f042adbd87
commit 0a969a383f
2 changed files with 35 additions and 23 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/jmq.pub
RWTTPlFarK9CxCwgRKXc7guzyvuxozjdKClciysu3JDknxsYEDLmFsoJ2FeTWrrjApMwkX9gHM1r0jKqdfcAW81eTr8cwjG2dwc=
RWTTPlFarK9CxPaRv7C3dUHvhw4a2jM3dF4r6WwGvAn/j2JIkMIJqixjqQVl4+inp6WWuNuNgLQRJjUDkRYN0QKbiIuCsi0TYws=
SHA256 (Pkgfile) = f0e950feb2823622a7f60e4d954064d53098ffb1334d30d9a568ff67646df40b
SHA256 (.footprint) = 8dd66b161ba5a509708a3ade8c9d8d411fb6f0da5ec8994ce5268e93661f4db4
SHA256 (wezterm-20220408-101518-b908e2dd-src.tar.gz) = 1febb7c0453307813854295b3f933fbbd0f3a0d0f4e3a31cabb1cc245154285b
SHA256 (wezterm.lua) = a84acc8194b3b24c239563dfbba30ce26cd82e5e20c4c413440b780d0a7d8834
SHA256 (wezterm.lua) = 1973f4481dc3af749283a7260449b9d809e744ebe1ff28ffa92c4f56660372b9

View File

@ -1,26 +1,38 @@
local wezterm = require 'wezterm';
return {
enable_wayland = true,
font = wezterm.font("Inconsolata"),
font_size = 16.0,
-- Uncomment the following to run wezterm in a Wayland session.
-- enable_wayland = true,
color_scheme = "Zenburn",
window_background_image = "/usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1366x768.png",
window_background_image_hsb = {
-- Darken the background image by reducing it to 1/3rd
brightness = 0.3,
-- You can adjust the hue by scaling its value.
-- a multiplier of 1.0 leaves the value unchanged.
hue = 1.0,
-- You can adjust the saturation also.
saturation = 1.0,
},
text_background_opacity = 0.8,
audible_bell = "Disabled",
visual_bell = {
fade_in_duration_ms = 75,
fade_out_duration_ms = 75,
target = "CursorColor",
font_size = 22.0,
color_scheme = "Treehouse",
window_background_image = "/usr/share/backgrounds/xfce/tipas.jpg",
window_background_image_hsb = {
-- Darken the background image by reducing it to 1/3rd
brightness = 0.3,
-- You can adjust the hue by scaling its value.
-- a multiplier of 1.0 leaves the value unchanged.
hue = 1.0,
-- You can adjust the saturation also.
saturation = 1.0,
},
text_background_opacity = 0.8,
audible_bell = "Disabled",
visual_bell = {
fade_in_duration_ms = 75,
fade_out_duration_ms = 75,
target = "CursorColor",
},
disable_default_key_bindings = true,
keys = {
{key = "c", mods="CTRL|SHIFT", action=wezterm.action{CopyTo="Clipboard"}},
{key = "v", mods="CTRL|SHIFT", action=wezterm.action{PasteFrom="Clipboard"}},
{key = "x", mods="CTRL|SHIFT", action="ActivateCopyMode"},
{key = "f", mods="CTRL|SHIFT", action=wezterm.action{Search={CaseInSensitiveString=""}}},
{key = "t", mods="SUPER", action=wezterm.action{SpawnTab="CurrentPaneDomain"}},
{key = "w", mods="SUPER", action=wezterm.action{CloseCurrentTab={confirm=true}}},
{key = "[", mods="SUPER", action=wezterm.action{ActivateTabRelative=-1}},
{key = "]", mods="SUPER", action=wezterm.action{ActivateTabRelative=1}},
{key = "PageUp", mods="SHIFT", action=wezterm.action{ScrollByPage=-1}},
{key = "PageDown", mods="SHIFT", action=wezterm.action{ScrollByPage=1}},
{key = "u", mods="CTRL|SHIFT", action="QuickSelect"},
},
}