Switch from gnome polkit to QS

This commit is contained in:
David Heinemeier Hansson
2026-05-16 22:20:25 +02:00
parent ad20041c22
commit 8f643282b9
9 changed files with 398 additions and 13 deletions
+13
View File
@@ -0,0 +1,13 @@
echo "Switch polkit authentication to omarchy-shell"
# The default Hyprland autostart now uses omarchy-shell's native Quickshell
# Polkit agent. Remove any stale user override that starts the old GTK agent.
if [[ -f ~/.config/hypr/autostart.lua ]]; then
sed -i '/polkit-gnome-authentication-agent-1/d' ~/.config/hypr/autostart.lua
fi
pkill -u "$USER" -f '^/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1$' 2>/dev/null || true
omarchy-pkg-drop polkit-gnome
omarchy-restart-shell