diff --git a/.config/i3/pass_typer.py b/.config/i3/pass_typer.py index 45f9fde..0a52e7a 100755 --- a/.config/i3/pass_typer.py +++ b/.config/i3/pass_typer.py @@ -82,7 +82,9 @@ class ServerMatch: print("Candidate globs:") for glob in self.to_globs(): print(glob) - yield from PASSWORD_STORE.glob(str(glob)) + for path in PASSWORD_STORE.glob(str(glob)): + if not path.parent.match("**/borg"): + yield path def __str__(self) -> str: folder = self.folder if self.folder is not None else '**'