summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/pinentry-auto2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pinentry-auto b/scripts/pinentry-auto
index d9c7bda..54e59c2 100755
--- a/scripts/pinentry-auto
+++ b/scripts/pinentry-auto
@@ -8,7 +8,7 @@ if [ -z "$exists" ]; then
fi
-if pgrep -x X > /dev/null; then
+if pgrep -x 'X|Xorg' > /dev/null; then
/home/"$USER"/bin/pinentry-dmenu "$@"
else
pinentry-curses "$@"