Skip to content

Commit 2151fe9

Browse files
committed
bootstrap: link all tmux helpers, not just loadavg.sh
tmux.conf depends on ~/.tmux/theme-sync.sh (status colors), tmuxline.dark.conf, tmuxline.light.conf, and the extrakto submodule. Without them tmux silently falls back to its default green statusline on a freshly bootstrapped box.
1 parent 7b9db61 commit 2151fe9

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/bootstrap.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ jobs:
3333
test -L "$HOME/.config/mise/config.toml"
3434
test -L "$HOME/.config/lsd/colors.yaml"
3535
test -L "$HOME/.tmux/loadavg.sh"
36+
test -L "$HOME/.tmux/theme-sync.sh"
37+
test -L "$HOME/.tmux/tmuxline.dark.conf"
38+
test -L "$HOME/.tmux/tmuxline.light.conf"
39+
test -L "$HOME/.tmux/extrakto"
3640
3741
- name: Verify CLI tools installed
3842
run: |

bootstrap.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,15 @@ link_dotfiles() {
199199
fi
200200

201201
# ~/.tmux/ is shared with TPM (~/.tmux/plugins/), so we link individual
202-
# helper scripts rather than the whole directory.
202+
# helper scripts rather than the whole directory. extrakto is a submodule
203+
# — link the whole subdir.
203204
run mkdir -p ~/.tmux
204205
log "Linking tmux helpers"
205206
run ln -fs "$DOTFILES_DIR/.tmux/loadavg.sh" ~/.tmux/loadavg.sh
207+
run ln -fs "$DOTFILES_DIR/.tmux/theme-sync.sh" ~/.tmux/theme-sync.sh
208+
run ln -fs "$DOTFILES_DIR/.tmux/tmuxline.dark.conf" ~/.tmux/tmuxline.dark.conf
209+
run ln -fs "$DOTFILES_DIR/.tmux/tmuxline.light.conf" ~/.tmux/tmuxline.light.conf
210+
run ln -fns "$DOTFILES_DIR/.tmux/extrakto" ~/.tmux/extrakto
206211

207212
popd > /dev/null
208213
}

0 commit comments

Comments
 (0)