Files
omarchy/migrations/1752104271.sh

9 lines
414 B
Bash
Raw Normal View History

2025-07-09 20:45:17 -04:00
echo "Switching to polkit-gnome for better fingerprint authentication compatibility"
2025-07-09 20:31:50 -04:00
if ! command -v /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &>/dev/null; then
yay -S --noconfirm --needed polkit-gnome
systemctl --user stop hyprpolkitagent
systemctl --user disable hyprpolkitagent
yay -Rns --noconfirm hyprpolkitagent
setsid /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
fi