diff options
| author | 2026-05-13 13:43:27 +0100 | |
|---|---|---|
| committer | 2026-05-13 13:43:27 +0100 | |
| commit | 34d0db92dc4a962fa77d1dec0bc8b3f987cb4e1d (patch) | |
| tree | f22500e70eaca1b17046880d0e573a75b8ec103d /dot_config | |
| parent | b62aa43830d9a358e1eb9896b1a3138136a5173d (diff) | |
| download | dotfiles-34d0db92dc4a962fa77d1dec0bc8b3f987cb4e1d.tar.gz dotfiles-34d0db92dc4a962fa77d1dec0bc8b3f987cb4e1d.tar.bz2 dotfiles-34d0db92dc4a962fa77d1dec0bc8b3f987cb4e1d.zip | |
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.
Diffstat (limited to 'dot_config')
| -rw-r--r-- | dot_config/sway/executable_tb-autostart.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 2>/dev/null | head -c 64) case "$banner" in "* OK"*) break ;; |
