iso: prefer bread-polkit when it is on PATH
The themed agent lives in bread-ecosystem and is not on the ISO lockfile yet. Fall back to polkit-gnome so install-time auth still works.
This commit is contained in:
parent
70d4dd424b
commit
f3d6c55234
1 changed files with 4 additions and 1 deletions
|
|
@ -126,7 +126,10 @@ hl.on("hyprland.start", function()
|
|||
-- Clipboard history is breadclipd, a bakery-managed systemd --user
|
||||
-- service (auto-started from /usr/lib/systemd/user — see
|
||||
-- build-local.sh's service bake) rather than an exec-once here.
|
||||
"/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1",
|
||||
-- Prefer bread-polkit when bakery has published it; otherwise the
|
||||
-- ISO's polkit-gnome agent. command -v so a missing binary does not
|
||||
-- leave the session without an auth agent.
|
||||
"sh -c 'if command -v bread-polkit >/dev/null; then exec bread-polkit; else exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1; fi'",
|
||||
"awww-daemon",
|
||||
-- Set the default wallpaper once the daemon is up (retry until ready).
|
||||
-- Raw `awww img`, NOT `breadpaper set` — breadpaper set also runs real
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue