modify gui pinentry from qt to gnome for stylix style

This commit is contained in:
ulic-youthlic 2025-01-16 20:29:27 +08:00
parent d330c9aaab
commit 455014c700
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721

View file

@ -10,14 +10,14 @@ pkgs.writeShellApplication {
tty) tty)
pinentry-tty;; pinentry-tty;;
*) *)
pinentry-qt;; pinentry-gnome3;;
esac esac
elif [ -v SSH_CLIENT ] && [ -n "$SSH_CLIENT" ]; then elif [ -v SSH_CLIENT ] && [ -n "$SSH_CLIENT" ]; then
pinentry-tty pinentry-tty
elif [ -v WAYLAND_DISPLAY ] && [ -n "$WAYLAND_DISPLAY" ]; then elif [ -v WAYLAND_DISPLAY ] && [ -n "$WAYLAND_DISPLAY" ]; then
pinentry-qt pinentry-gnome3
elif [ -v DISPLAY ] && [ -n "$DISPLAY" ]; then elif [ -v DISPLAY ] && [ -n "$DISPLAY" ]; then
pinentry-qt pinentry-gnome3
else else
pinentry-tty pinentry-tty
fi fi