From bb68fea1b4fdf120c0b4b0755148bed36f9c1781 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Wed, 6 Jul 2022 23:24:57 -0400 Subject: [PATCH] pass_typer: Also match "salt.sawtooth.claremontmakerspace.org" for cms-net-svcs --- .config/i3/pass_typer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/i3/pass_typer.py b/.config/i3/pass_typer.py index acdee02..6aba4f7 100755 --- a/.config/i3/pass_typer.py +++ b/.config/i3/pass_typer.py @@ -16,7 +16,7 @@ cmd = partial(subprocess.run, capture_output=True, encoding="ascii") def alias(server_name): match server_name.rpartition("@"): - case [user, at, "salt"]: + case [user, at, ("salt" | "salt.sawtooth.claremontmakerspace.org")]: return f"cms/{user}{at}cms-net-svcs" case [user, at, ("iPad1" | "iPad2" | "iPad3")]: return f"cms/{user}{at}ipads"