summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTom Barrett <tom@tombarrett.xyz>2021-11-07 12:43:30 +0100
committerTom Barrett <tom@tombarrett.xyz>2021-11-07 12:43:30 +0100
commit10f2ff51aa210470965e3a573b886ba43b732a6e (patch)
treea188a62dee9129277dc79e60ac5774e223ca97ae /scripts
parent7ca519190e5be40ccae0d8b12a17c36e5469e230 (diff)
arch has different name for xorg
Diffstat (limited to 'scripts')
-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 "$@"