fafee91c05
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:
22 lines
1021 B
Bash
Executable File
22 lines
1021 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# klevstul :: start miscellanous application :: 25.12.28
|
|
|
|
notify-send "<< startup.sh >>"
|
|
|
|
source /home/poq/syncDir/secrets/toBeSourced/secretsAsEnvVariables.sh # set secrets as env variables
|
|
|
|
hypropolkitagent & # authentification
|
|
hypridle & # idle management deamon
|
|
hyprpaper & # wallpaper
|
|
sleep 1 && nwg-panel & # status bar | sleep to avoid racing condition
|
|
|
|
nm-applet & # network manager applet
|
|
nextcloud & # nextcloud file sync
|
|
pcloud & # pcloud service
|
|
|
|
if [[ "${HOSTNAME}" == "tuxwarrior" ]] ; then
|
|
hyprmon --profile office &
|
|
synology-drive &
|
|
fi
|