aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/migrate-hypr-to-lua.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/migrate-hypr-to-lua.sh b/scripts/migrate-hypr-to-lua.sh
index f36cbbda..9f69d3cc 100755
--- a/scripts/migrate-hypr-to-lua.sh
+++ b/scripts/migrate-hypr-to-lua.sh
@@ -1351,15 +1351,15 @@ else:
startup_readiness = (
"runtime=${XDG_RUNTIME_DIR:-/run/user/$(id -u)}; "
"export XDG_RUNTIME_DIR=\"$runtime\"; "
- "for _ in $(seq 1 200); do "
+ "for _ in $(seq 1 30); do "
"if [ -n \"$WAYLAND_DISPLAY\" ] && [ -S \"$runtime/$WAYLAND_DISPLAY\" ]; then break; fi; "
"for sock in \"$runtime\"/wayland-[0-9]*; do [ -S \"$sock\" ] || continue; "
"case \"$(basename \"$sock\")\" in *awww*) continue ;; esac; "
"export WAYLAND_DISPLAY=\"$(basename \"$sock\")\"; break 2; done; "
"sleep 0.1; done; "
"if [ -n \"$HYPRLAND_INSTANCE_SIGNATURE\" ]; then "
- "hypr_sock=\"$runtime/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket.sock\"; "
- "for _ in $(seq 1 200); do [ -S \"$hypr_sock\" ] && break; sleep 0.1; done; fi"
+ "for hypr_sock in \"$runtime/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket.sock\" \"$runtime/hypr/.socket.sock\"; do [ -S \"$hypr_sock\" ] && break 2; done; "
+ "sleep 0.1; fi"
)
system_startup_lines = [
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage