From bdfab2c30500c415ff620d35855653dba7422a96 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 9 Jul 2025 19:05:27 -0400 Subject: [PATCH] Only run if missing --- migrations/1752081300.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/migrations/1752081300.sh b/migrations/1752081300.sh index 0f00a5b..29e42e7 100644 --- a/migrations/1752081300.sh +++ b/migrations/1752081300.sh @@ -1,7 +1,9 @@ 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 -systemctl --user daemon-reexec -systemctl --user daemon-reload -systemctl --user restart hyprpolkitagent + # Reload user systemd and restart service + systemctl --user daemon-reexec + systemctl --user daemon-reload + systemctl --user restart hyprpolkitagent +fi