Omarchy

Omarchy’s Password Prompt Will Tell You Which Coding Agent Wants Root

Leave a comment

This is a small change I really like. Omarchy Central reports that on Nov. 25, DHH merged a pull request from Jankees van Woezik into the quattro branch that makes Omarchy’s polkit password dialog show which coding agent asked for root. It’s coming in the next version.

If the prompt comes from an agent, that agent’s icon replaces the padlock, and an unlabeled request reads like “Authorize Claude to run ‘…'” instead of a generic message. Commands can also set a label that gets its own line, with the actual pkexec command on a dimmer line underneath so a long reason can’t push the command out of view.

How it knows: a helper script finds your waiting pkexec process for the command in the dialog, then walks up its parent processes until it hits a known agent. The list includes Claude, Codex, Grok, OpenCode, Cursor, Copilot, Hermes, Kimi and more, including agents running under Node, Bun, Deno or Python. If that fails, it checks environment variables like CLAUDECODE or AI_AGENT. The PR is honest about limits: it’s “a hint, not proof.”

My take

When you’ve got several agents running, a bare root prompt is the scariest dialog on the screen. Knowing who’s asking doesn’t mean you should click yes, but it’s a lot better than guessing. Still read the command line every time.

God Bless, and Happy hacking!

References & Further Reading

Subscribe (RSS) Follow Omarchy via RSS

Leave a note

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.