mirror of
https://github.com/LukeHagar/omarchy.git
synced 2025-12-06 04:20:23 +00:00
* No using custom chromium.desktop any more * Spacing * Rely on $OMARCHY_PATH * Add common pkg and cmd functions for use in migrations and elsewhere * Simple pkg-adds * Later migration does it * Ensure running migrations on older installs have the new pkg/cmds available * Spacing * Use new abstractions * Installed in later migration * Needless comment * Use new commands * Fix package name from 'batt' to 'bat'
10 lines
431 B
Bash
10 lines
431 B
Bash
echo "Switching to polkit-gnome for better fingerprint authentication compatibility"
|
|
|
|
if ! command -v /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &>/dev/null; then
|
|
sudo pacman -S --noconfirm --needed polkit-gnome
|
|
systemctl --user stop hyprpolkitagent
|
|
systemctl --user disable hyprpolkitagent
|
|
sudo pacman -Rns --noconfirm hyprpolkitagent
|
|
setsid /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
|
fi
|