[Unit] Description=Panama polkit authentication agent Documentation=https://github.com/gibbyb/Panama # Only one agent may be registered per session, so this must not run alongside # the one it replaces. Conflicts=hyprpolkitagent.service After=graphical-session.target PartOf=graphical-session.target [Service] Type=simple ExecStart=%h/.config/quickshell/scripts/panama-polkit-agent # The prompt is drawn by the shell, so an agent that outlives a shell restart # would be registered with nowhere to prompt. Restarting reconnects it. Restart=on-failure RestartSec=2 # If this fails repeatedly, stop rather than flap: a session with no agent is # recoverable from a terminal, a session with a broken one is confusing. StartLimitBurst=5 StartLimitIntervalSec=60 [Install] WantedBy=graphical-session.target