diff --git a/.config/i3/pass_typer.py b/.config/i3/pass_typer.py index 63554db..65a18bd 100755 --- a/.config/i3/pass_typer.py +++ b/.config/i3/pass_typer.py @@ -43,7 +43,7 @@ def get_password(password_name: str) -> None: def select_and_type(server_name: Path) -> None: - path = ("servers" / server_name).with_suffix(".gpg") + path = ("servers" / server_name).with_name(server_name.name + ".gpg") files = chain( PASSWORD_STORE.glob(str(path)), PASSWORD_STORE.glob(str(path.with_name("*@" + path.name))),