17 lines
346 B
Bash
Executable file
17 lines
346 B
Bash
Executable file
#!/usr/bin/env bash
|
|
#
|
|
# Defaults to Qt, with a choice of curses for selected programs
|
|
# PINENTRY_USER_DATA is a GnuPG defined variable (see man gpg)
|
|
|
|
case "$PINENTRY_USER_DATA" in
|
|
dmenu)
|
|
exec pinentry-dmenu "$@"
|
|
;;
|
|
rofi)
|
|
exec pinentry-rofi "$@"
|
|
;;
|
|
*)
|
|
exec pinentry-curses "$@"
|
|
;;
|
|
esac
|
|
|