diff options
author | Tom Barrett <tom@tombarrett.xyz> | 2023-02-12 17:06:17 +0100 |
---|---|---|
committer | Tom Barrett <tom@tombarrett.xyz> | 2023-02-12 17:06:17 +0100 |
commit | d42be4aae613212561e8b0e608ca313be5d89330 (patch) | |
tree | 85b00e66960b553712d3a92557cd6482c00ce6e6 /scripts/pinentry-auto | |
parent | c9d032760c886d5b639df15e50ac8b0636cb0524 (diff) |
2023 update
Diffstat (limited to 'scripts/pinentry-auto')
-rwxr-xr-x | scripts/pinentry-auto | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/pinentry-auto b/scripts/pinentry-auto index 54e59c2..66ca97c 100755 --- a/scripts/pinentry-auto +++ b/scripts/pinentry-auto @@ -7,8 +7,7 @@ if [ -z "$exists" ]; then PATH="/run/current-system/sw/bin/:"$PATH fi - -if pgrep -x 'X|Xorg' > /dev/null; then +if pgrep -x 'X|Xorg' >/dev/null; then /home/"$USER"/bin/pinentry-dmenu "$@" else pinentry-curses "$@" |