@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 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
@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 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