Only run if missing

This commit is contained in:
David Heinemeier Hansson
2025-07-09 19:05:27 -04:00
parent 00be503e79
commit bdfab2c305

View File

@ -1,7 +1,9 @@
echo "Switching system authentication prompt to dark mode" echo "Switching system authentication prompt to dark mode"
source ~/.local/share/omarchy/install/hyprpolkitagent.sh if [[ ! -f ~/.config/systemd/user/hyprpolkitagent.service.d/override.conf ]]; do
source ~/.local/share/omarchy/install/hyprpolkitagent.sh
# Reload user systemd and restart service # Reload user systemd and restart service
systemctl --user daemon-reexec systemctl --user daemon-reexec
systemctl --user daemon-reload systemctl --user daemon-reload
systemctl --user restart hyprpolkitagent systemctl --user restart hyprpolkitagent
fi