From fafee91c059507f56667b99b7a396f0cc7558612 Mon Sep 17 00:00:00 2001 From: "committer@tuxwarrior" Date: Mon, 25 May 2026 16:55:03 -0500 Subject: [PATCH] sleep to prevent racing condition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit i also have some problem with my statusbar. whenever i start up, the background of the statusbar is flashing, with tiny tiny printed letters. it looks like some terminal output in the top statusbar. when i press print screen, this behaviour ends, and all is well. happens on every reboot. 4:51 pm This is a classic race condition — waybar (or whatever bar you use) is starting before hyprpaper or your wallpaper tool has fully initialized, so for a brief moment the bar renders against a transparent/unset background, and what you're seeing is the raw compositor output or a terminal behind it. The print screen bind triggering a screenshot likely forces a compositor repaint which "fixes" the render state — confirming it's a rendering/timing issue, not a config bug. Since your startup.sh handles autostart, the fix is simply to add a short sleep before launching the bar. Something like: --- dots/bin/startup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dots/bin/startup.sh b/dots/bin/startup.sh index a9ff906..5a5bd58 100755 --- a/dots/bin/startup.sh +++ b/dots/bin/startup.sh @@ -9,11 +9,11 @@ source /home/poq/syncDir/secrets/toBeSourced/secretsAsEnvVariables.sh # se hypropolkitagent & # authentification hypridle & # idle management deamon hyprpaper & # wallpaper -nwg-panel & # status bar +sleep 1 && nwg-panel & # status bar | sleep to avoid racing condition nm-applet & # network manager applet -nextcloud & # nextcloud file sync -pcloud & # pcloud service +nextcloud & # nextcloud file sync +pcloud & # pcloud service if [[ "${HOSTNAME}" == "tuxwarrior" ]] ; then hyprmon --profile office &