diff options
| author | 2026-05-13 13:43:19 +0100 | |
|---|---|---|
| committer | 2026-05-13 13:43:19 +0100 | |
| commit | 083a99063d5092e0895424f652804065c84463f8 (patch) | |
| tree | b2096345b0a77795c5e1f913b2dd03ef3d22a9dd /dot_config/sway/executable_tb-autostart.sh | |
| parent | 1d5ea18ba2e2d98394c992e747df20a75682ec42 (diff) | |
| download | dotfiles-083a99063d5092e0895424f652804065c84463f8.tar.gz dotfiles-083a99063d5092e0895424f652804065c84463f8.tar.bz2 dotfiles-083a99063d5092e0895424f652804065c84463f8.zip | |
chore(fmt): apply shfmt and prettier formatting
- shfmt -i 2 -ci -s on the four updated shell scripts (tabs → 2 spaces)
- prettier --write on KEYBINDS.md and README.md
Diffstat (limited to 'dot_config/sway/executable_tb-autostart.sh')
| -rw-r--r-- | dot_config/sway/executable_tb-autostart.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dot_config/sway/executable_tb-autostart.sh b/dot_config/sway/executable_tb-autostart.sh index b77431e..f841428 100644 --- a/dot_config/sway/executable_tb-autostart.sh +++ b/dot_config/sway/executable_tb-autostart.sh @@ -11,11 +11,11 @@ MARK=tb-main thunderbird & for _ in $(seq 1 200); do - if swaymsg -t get_tree | jq -e --arg m "$MARK" ' + if swaymsg -t get_tree | jq -e --arg m "$MARK" ' [.. | objects | select(.marks? // [] | index($m))] | length > 0 ' >/dev/null 2>&1; then - swaymsg "[con_mark=\"$MARK\"] move container to scratchpad" >/dev/null - exit 0 - fi - sleep 0.1 + swaymsg "[con_mark=\"$MARK\"] move container to scratchpad" >/dev/null + exit 0 + fi + sleep 0.1 done |
