This commit is contained in:
2026-08-20 19:04:27 -04:00
parent 59e0136aa8
commit 64761f272c
2 changed files with 43 additions and 7 deletions
+16 -4
View File
@@ -1,9 +1,21 @@
#!/usr/bin/nu
#!/usr/bin/env nu
$env.SSH_AUTH_SOCK = ""
$env.SSH_ASKPASS = "/usr/bin/ksshaskpass"
$env.SSH_ASKPASS_REQUIRE = "force"
def main [domain: string] {
wezterm connect $domain
}
def main [--host: string, --theme: string, --font: string = "LythMono Nerd Font", --font_size: int] {
let color_scheme = "color_scheme='" + $theme + "'"
let wez_font = 'font=wezterm.font("' + $font + '")'
let wez_font_size = 'font_size=' + ($font_size | into string)
(
wezterm
--config $color_scheme
--config $wez_font
--config $wez_font_size
connect
--class $"lol.roo.home.term.($host)"
$host
)
}