aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/WaybarStartup.sh
diff options
context:
space:
mode:
authorDon Williams <don.e.williams@gmail.com>2026-08-07 09:46:22 -0400
committerPinapelz <yukais@pinapelz.com>2026-08-29 21:41:34 -0700
commit10c7de51688d4c1e22da7e9e7127a0e61d7cf08e (patch)
tree129bf58abcc2d47c0965f2ac84264426e700fcd1 /config/hypr/scripts/WaybarStartup.sh
parent9f5db99394cd0e53b796009c23d1218779b3140b (diff)
Trimed startup time for waybar
Signed-off-by: Don Williams <don.e.williams@gmail.com> On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: CHANGELOG.md modified: config/hypr/configs/Startup_Apps.conf modified: config/hypr/scripts/WaybarStartup.sh
Diffstat (limited to 'config/hypr/scripts/WaybarStartup.sh')
-rwxr-xr-xconfig/hypr/scripts/WaybarStartup.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/config/hypr/scripts/WaybarStartup.sh b/config/hypr/scripts/WaybarStartup.sh
index 575a7a2b..8cd36efb 100755
--- a/config/hypr/scripts/WaybarStartup.sh
+++ b/config/hypr/scripts/WaybarStartup.sh
@@ -16,7 +16,7 @@ is_waybar_running() {
pgrep -x "waybar" >/dev/null 2>&1 || pgrep -x '\.waybar-wrapped' >/dev/null 2>&1
}
wait_for_waybar() {
- for _ in $(seq 1 30); do
+ for _ in $(seq 1 80); do
is_waybar_running && return 0
sleep 0.1
done
@@ -115,11 +115,9 @@ start_waybar_via_systemd() {
}
main() {
- # Allow key startup services to settle before launching Waybar.
- sleep 1
wait_for_wayland || true
sync_portal_env
- start_portal_services || true
+ # Portal services are already started by PortalHyprland.sh; no need to wait here.
ensure_wallust_waybar_colors || true
is_waybar_running && exit 0
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage