From 34d0db92dc4a962fa77d1dec0bc8b3f987cb4e1d Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 13 May 2026 13:43:27 +0100 Subject: fix(sway): bump tb-autostart bridge IMAP wait 60s -> 180s ProtonMail Bridge cold-start (keyring unlock + account decryption) occasionally exceeds 60s, so the IMAP '* OK' banner never arrives in time and Thunderbird launches into a 'failed to connect to 127.0.0.1, please retry' dialog. Triple the budget to 180s. --- dot_config/sway/executable_tb-autostart.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dot_config/sway/executable_tb-autostart.sh b/dot_config/sway/executable_tb-autostart.sh index ceae5de..2d87716 100644 --- a/dot_config/sway/executable_tb-autostart.sh +++ b/dot_config/sway/executable_tb-autostart.sh @@ -14,7 +14,7 @@ BRIDGE_PORT=1143 # unlocked), so "port is listening" is not enough — TB will race and pop up # "failed to login to 127.0.0.1". Wait for the real IMAP '* OK' greeting, # which the bridge only sends once it can actually service logins. -for _ in $(seq 1 300); do +for _ in $(seq 1 900); do banner=$(ncat -w 1 -i 1 "$BRIDGE_HOST" "$BRIDGE_PORT" /dev/null | head -c 64) case "$banner" in "* OK"*) break ;; -- cgit v1.3.1