@spv In fact phosh would like to do it but there's currently no way for apps to indicate that a keypad would be the preferred choice: https://gitlab.gnome.org/GNOME/gcr/-/merge_requests/79
@agx can't squeekboard see the app getting the input? could probably add a heuristic to check for a polkit input and switch to a keypad then (and add a gsetting or some shit to differentiate alphanumeric from numeric)
@spv Not in the case of the prompter, that's a DBus API so the app needs to sent the hint over the channel (hence the MR). (The text-input client in this case is the shell not the app)
@agx then i suppose an even worse heuristic of "is polkit currently in use?" might work (sort of?)
(pgrep polkit-agent-he && echo numpad)
@spv polkit even has its on prompt (and DBus API) separate from system prompts (that e.g. gpg or SIM unlock uses). It's not driven by gcr so one could use a keypad for that case.
@spv Scrolling back up I see you asked for polkit in the first place (I was reading system prompt), sorry for the confusion.
@spv Filed that here: https://gitlab.gnome.org/World/Phosh/phosh/-/issues/1131
@agx man i love FOSS -- seeing the development discussions and contributing rather than "welp i guess we'll see what they ship in a year" lmfao