From 7029adb193061c07589ff4a7f8ef91c62c7a5dc0 Mon Sep 17 00:00:00 2001 From: "committer@tuxwarrior" Date: Tue, 26 May 2026 07:29:50 -0500 Subject: [PATCH] trying to avoid race cond. --- dots/bin/startup.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dots/bin/startup.sh b/dots/bin/startup.sh index 97660ce..37d1b51 100755 --- a/dots/bin/startup.sh +++ b/dots/bin/startup.sh @@ -9,13 +9,13 @@ source /home/poq/syncDir/secrets/toBeSourced/secretsAsEnvVariables.sh # se hypropolkitagent & # authentification hypridle & # idle management deamon hyprpaper & # wallpaper -sleep 10 && nwg-panel & # status bar | sleep to avoid racing condition +until hyprctl monitors > /dev/null 2>&1; do sleep 0.1; done && nwg-panel & # status bar -nm-applet & # network manager applet -nextcloud & # nextcloud file sync -pcloud & # pcloud service +sleep 2 && nm-applet & # network manager applet +sleep 2 && nextcloud & # nextcloud file sync +sleep 2 && pcloud & # pcloud service if [[ "${HOSTNAME}" == "tuxwarrior" ]] ; then hyprmon --profile office & - synology-drive & + sleep 2 && synology-drive & fi