]> git.sev.monster Git - dotfiles.git/blobdiff - bin/pinentry
vimrc: enable modeline explicitly
[dotfiles.git] / bin / pinentry
index 39349d58b9f26509a6eaad6dab622cf2f49eb25c..5a31bd427e05d67d1672911c9d3460e00f19420d 100755 (executable)
@@ -2,7 +2,7 @@
 # https://kevinlocke.name/bits/2019/07/31/prefer-terminal-for-gpg-pinentry
 
 set -C
 # https://kevinlocke.name/bits/2019/07/31/prefer-terminal-for-gpg-pinentry
 
 set -C
-gfx="gnome qt gtk-4 gtk-3 gtk-2 gtk bemenu dmenu x11"
+gfx="qt gnome gtk-4 gtk-3 gtk-2 gtk bemenu dmenu x11"
 tty="curses-ss curses tty"
 case "${PINENTRY_USER_DATA-}" in
        # prefer tty unless USE_TTY is 0
 tty="curses-ss curses tty"
 case "${PINENTRY_USER_DATA-}" in
        # prefer tty unless USE_TTY is 0
@@ -17,4 +17,7 @@ for x in $list; do
        fi
 done
 
        fi
 done
 
+# fallback
+exec pinentry "$@"
+
 echo "No pinentry program found" >&2
 echo "No pinentry program found" >&2
This page took 0.154616 seconds and 4 git commands to generate.