Term org again

This commit is contained in:
2026-08-26 13:36:39 -04:00
parent cad5afd98c
commit 30c9e4af9d
2 changed files with 11 additions and 28 deletions
+4 -3
View File
@@ -4,10 +4,11 @@ $env.SSH_AUTH_SOCK = ""
$env.SSH_ASKPASS = "/usr/bin/ksshaskpass"
$env.SSH_ASKPASS_REQUIRE = "force"
def main [--host: string, --theme: string = "Ef-Dream", --font: string = "LythMono Nerd Font", --font_size: int = 12] {
def main [--domain: string, --theme: string = "Ef-Dream", --font: string = "LythMono Nerd Font", --font_size: int = 12] {
let color_scheme = "color_scheme='" + $theme + "'"
let wez_font = 'font=wezterm.font("' + $font + '")'
let wez_font_size = 'font_size=' + ($font_size | into string)
$env.WEZTERM_MUX_SOCKET_NAME = $domain
(
wezterm
@@ -15,7 +16,7 @@ def main [--host: string, --theme: string = "Ef-Dream", --font: string = "LythMo
--config $wez_font
--config $wez_font_size
connect
--class $"lol.roo.term.($host)"
$host
--class $"lol.roo.term.($domain)"
$domain
)
}