diff options
author | Tom Barrett <tom@tombarrett.xyz> | 2021-11-07 12:43:30 +0100 |
---|---|---|
committer | Tom Barrett <tom@tombarrett.xyz> | 2021-11-07 12:43:30 +0100 |
commit | 10f2ff51aa210470965e3a573b886ba43b732a6e (patch) | |
tree | a188a62dee9129277dc79e60ac5774e223ca97ae | |
parent | 7ca519190e5be40ccae0d8b12a17c36e5469e230 (diff) |
arch has different name for xorg
-rwxr-xr-x | scripts/pinentry-auto | 2 |
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 "$@" |