feat: tmux and widgets
This commit is contained in:
26
script/install.d/24-tmux.sh
Normal file
26
script/install.d/24-tmux.sh
Normal file
@@ -0,0 +1,26 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user