Files
dotfiles/install.d/24-tmux.sh
Andrejus 2acae0b4f2 vim: add plugins, tmux: status bar, fix Ctrl+A clash
- Add vim-gitgutter, vim-commentary, vim-surround via install
script
- Rebind git log widget from Ctrl+A to Ctrl+T (tmux prefix
clash)
- Add date, time, and battery indicator to tmux status
bar
- Set tmux clock colour to teal

Co-authored-by: Copilot
<223556219+Copilot@users.noreply.github.com>
2026-02-24 16:08:10 +00:00

28 lines
594 B
Bash
Executable File

#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# Description:
# Install and configure tmux.
#
if ! command -v tmux &> /dev/null; then
case "$DOTS_PKG" in
apt)
sudo apt-get install -qq tmux
;;
pacman)
sudo pacman -S --noconfirm tmux
;;
brew)
brew install tmux
;;
*)
log_warn "Skipping tmux install: no supported package manager found"
return 0
;;
esac
fi
tmux -V
log_pass "tmux installed"