mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
Guard against running it twice
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
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
|
||||
|
Reference in New Issue
Block a user