Files
wezterm-config/wezterm.lua
T
rootiest c0775afb63 feat: session encryption
-- Allows user-customization of encryption
2024-10-04 11:08:48 -04:00

46 lines
1.4 KiB
Lua

-- __ __ ________
-- / | _ / | / |
-- $$ | / \ $$ | ______ ________$$$$$$$$/______ ______ _____ ____
-- $$ |/$ \$$ | / \ / | $$ | / \ / \ / \/ \
-- $$ /$$$ $$ |/$$$$$$ |$$$$$$$$/ $$ |/$$$$$$ |/$$$$$$ |$$$$$$ $$$$ |
-- $$ $$/$$ $$ |$$ $$ | / $$/ $$ |$$ $$ |$$ | $$/ $$ | $$ | $$ |
-- $$$$/ $$$$ |$$$$$$$$/ /$$$$/__ $$ |$$$$$$$$/ $$ | $$ | $$ | $$ |
-- $$$/ $$$ |$$ |/$$ | $$ |$$ |$$ | $$ | $$ | $$ |
-- $$/ $$/ $$$$$$$/ $$$$$$$$/ $$/ $$$$$$$/ $$/ $$/ $$/ $$/
--------------------------------------------------------------------------------
-- https://github.com/wez/wezterm/
-- Load WezTerm module
WEZTERM = require("wezterm")
-- Load Config Builder
CONFIG = WEZTERM.config_builder()
-- Load Options
local opts = require("opts")
-- Apply config
for k, v in pairs(opts) do
CONFIG[k] = v
end
-- Check for dev-modes
DEVMODE = pcall(require, "dev")
-- Check for user-configs
USERCONFIG = pcall(require, "user")
-- Load plugins
require("plugs")
-- Encrypt Sessions
require("encryption")
--------- Update Plugins ----------
---Running this may cause slowdowns
-----------------------------------
-- WEZTERM.plugin.update_all() ----
-----------------------------------
-- Return configuration
return CONFIG