From ae080c40428876bc2bf7a05a61f6c78878476ca0 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sat, 16 Mar 2024 20:11:44 -0400 Subject: [PATCH] pass_typer: Remove extra space in regex --- .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 d962ee5..264d53d 100755 --- a/.config/i3/pass_typer.py +++ b/.config/i3/pass_typer.py @@ -130,7 +130,7 @@ def select_and_type(server_match: ServerMatch) -> None: window_name = cmd(["xdotool", "getactivewindow", "getwindowname"]).stdout.strip() ssh_match = re.search( - ":([^ ]+=[^ ]* )*(mosh|ssh) .* (?P[^ ]*)$", window_name + ":([^ ]+=[^ ]* )*(mosh|ssh).* (?P[^ ]*)$", window_name ) if ssh_match: server_match = ServerMatch.from_destination(ssh_match.group("destination"))