LLeMbas TTY installs and runs beside WezTerm without touching it: - binaries llembas-tty, llembas-tty-gui, llembas-tty-mux-server (packages keep upstream's names); - configuration in $XDG_CONFIG_HOME/llembas-tty/llembas-tty.lua or ~/.llembas-tty.lua; own data, cache and runtime directories; - LLEMBAS_TTY_CONFIG_FILE / _CONFIG_DIR / _UNIX_SOCKET / _PANE / _EXECUTABLE replace the WEZTERM_ ones, which are neither read nor passed on, so neither program talks to the other's panes; - window class, app id, notification id and bundle id eu.llembas.tty; - panes get LLEMBAS_TTY=<version>; TERM_PROGRAM stays WezTerm; - --version shows our version and the WezTerm version it is based on; - the update check, which asks about WezTerm's releases, is off by default. The LLeMbas layer (llembas/lua) is compiled in and offered as require 'llembas'; with no configuration file the built-in one applies it. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
9 lines
392 B
Lua
9 lines
392 B
Lua
-- LLeMbas TTY: the configuration used when the person has none of their own
|
|
-- ($XDG_CONFIG_HOME/llembas-tty/llembas-tty.lua or ~/.llembas-tty.lua).
|
|
-- It is the terminal's defaults with the LLeMbas layer applied. A person's
|
|
-- own file starts from the same four lines.
|
|
local wezterm = require 'wezterm'
|
|
local config = wezterm.config_builder()
|
|
require('llembas').apply(config)
|
|
return config
|