Open Cu3PO42 opened 1 month ago
yeah it would be nice to have the polkit thing show up in a layershell since i want it to hog focus like in gnome thanks for reminding me that it's now possible but maybe after i make a lock screen
as for fingerprint authentication, my device doesn't have a reader so i can't test that
This would be super cool! There are quite a few instances where I've been on Workspace 3 or something and not noticed a polkit/keyring dialog as they always seem to go to Workspace 1 haha. Usually ends in me rage quitting a program thinking it's not working, and later when I go back to workspace 1 I see the dialog and I'm like "oh ffs there's the issue" lol
You can probably work around some of these issues, with the agent showing up on the wrong workspace or force it to take focus with some configuration of your window manager. E.g. on Hyprland you could force it to pinned
and stayfocused
.
Let me preface this by saying this is not a feature request in the sense that I'm asking you to please do this now, I just want to document the idea and possibly start a discussion.
What would you like to be added?
I'd like to propose adding a PolKit agent to your AGS config itself. I understand you currently bundle the agent used by prior versions of Gnome, but I do believe it should be possible to build a better-looking one that integrates with the rest of the aesthetic.
How will it help
Beyond a visual uplift, it should be possible to get handling of fingerprint authentication much more correct than it currently is in Gnome Polkit agent.
Extra info
I have code for the business logic of implementing a PolKit agent in AGS on hand that I'm happy to help integrate. As for the UI, I have some ideas, but nothing concrete. The agent of modern Gnome Shell looks fairly good:
I also like 1Password's authorization dialog:
Maybe something similar, where instead of the 1Password icon we add the icon of the distribution.