Skip to content

Commit

Permalink
repetition: match the full process name in pgrep
Browse files Browse the repository at this point in the history
  • Loading branch information
BenWestgate committed Jul 6, 2024
1 parent 7c8fe5d commit 65ee138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bails/.local/bin/spaced-repetition
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ wait_if_locked_or_typing() {
loginctl show-session "$XDG_SESSION_ID" -p LockedHint | grep "yes" && \
wait_if_locked_or_typing $((passwd_is_passphrase ? interval : 10))
for entry in pinentry-gnome3 {codex32_confirm,set_pass,passphrase}.py; do
pgrep "$entry" && wait_if_locked_or_typing 3
pgrep -f "$entry" && wait_if_locked_or_typing 3
done # TODO: add codex32_entry.py
}

Expand Down

0 comments on commit 65ee138

Please sign in to comment.