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"))