diff --git a/.config/i3/pass_typer.py b/.config/i3/pass_typer.py index 89d9363..901a7b8 100755 --- a/.config/i3/pass_typer.py +++ b/.config/i3/pass_typer.py @@ -47,7 +47,9 @@ def select_and_type(server_name: str) -> None: PASSWORD_STORE.glob(f"servers/**/{server_name}.gpg"), PASSWORD_STORE.glob(f"servers/**/*@{server_name}.gpg"), ) - file_list = {str(f.relative_to(PASSWORD_STORE).with_suffix("")) for f in files} + file_list = list( + dict.fromkeys(str(f.relative_to(PASSWORD_STORE).with_suffix("")) for f in files) + ) selected = rofi_select(file_list) password = get_password(selected)