Skip to content

Display request details on AuthFlow(polkit) - #1579

Closed
poornan wants to merge 1 commit into
quickshell-mirror:masterfrom
poornan:polkit-details
Closed

poornan wants to merge 1 commit into
quickshell-mirror:masterfrom
poornan:polkit-details

Conversation

@poornan

@poornan poornan commented Dec 1, 2026

Copy link
Copy Markdown

Describe your changes

The PolkitDetails received with each request were dropped by the listener. This change pass them as a string map and expose them as AuthFlow.details. It copies every detail including polkit.caller-pid and polkit.subject-pid to Quickshell, which are our interest here.

Closes #1578

Details and descisions

Polkit puts the caller's and subject's process IDs there, so a shell can tell which process asked without guessing from the process list. New automated test for the conversion, and one real pkexec request where the two PIDs matched the real processes.

Open concerns

The polkit service had no tests before. This adds the first one. Wanted here, or should it go?

Participation

I use this via Omarchy and I want to know which process asked from the dialog. I'll follow up on the comments. the change was written with Claude and reviewed with it. Looking forward.

The PolkitDetails received with each request were dropped by the
listener. This change passes them as a string map and exposes them as
AuthFlow.details. It copies every detail, including polkit.caller-pid
and polkit.subject-pid, to Quickshell, which are our interest here.
@poornan

poornan commented Dec 1, 2026 •

Copy link
Copy Markdown
Author

Closing as a duplicate of #1570, which was opened first and makes the same change. I missed it because I had searched the issues, not the pull requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

polkit: expose request details (polkit.caller-pid, polkit.subject-pid) on AuthFlow

1 participant