diff options
| author | 2026-05-13 13:43:26 +0100 | |
|---|---|---|
| committer | 2026-05-13 13:43:26 +0100 | |
| commit | 1df4ca3e057c02a0e72c11b3e54b7057383a782b (patch) | |
| tree | c406a4ccf617f88953c7fc6190058064f282052a /dot_config/sway/executable_tb-autostart.sh | |
| parent | 0b15f70f0de6e6af089cb70090822cd8ccc10c48 (diff) | |
| download | dotfiles-1df4ca3e057c02a0e72c11b3e54b7057383a782b.tar.gz dotfiles-1df4ca3e057c02a0e72c11b3e54b7057383a782b.tar.bz2 dotfiles-1df4ca3e057c02a0e72c11b3e54b7057383a782b.zip | |
fix(sway): bump tb-autostart window-mark wait 20s -> 60s
Flatpak Thunderbird has a slower cold start than the native package
used to. On a busy session start, the main window with the tb-main
mark sometimes appears after the existing 20s budget, and the script
exits without moving it to the scratchpad — leaving TB tiled on the
current workspace.
Diffstat (limited to 'dot_config/sway/executable_tb-autostart.sh')
| -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..8398a1f 100644 --- a/dot_config/sway/executable_tb-autostart.sh +++ b/dot_config/sway/executable_tb-autostart.sh @@ -27,7 +27,7 @@ sleep 1 thunderbird & -for _ in $(seq 1 200); do +for _ in $(seq 1 600); do if swaymsg -t get_tree | jq -e --arg m "$MARK" ' [.. | objects | select(.marks? // [] | index($m))] | length > 0 ' >/dev/null 2>&1; then |
