This project contains a set of scripts that will add some additional segments to tmux-powerline. You may find them useful if your a heavy users of ccm and tmux like I am.
-
Install tmux-powerline and configure it using any of the provided segments
-
Clone repository
git clone https://github.com/spodkowinski/tmux-powerline-ccm.git
-
Enable an external segements directory in your
.tmux-powerlinerc
pointing to the cloned repo, e.g.export TMUX_POWERLINE_DIR_USER_SEGMENTS="$HOME/.dotfiles/tmux-powerline-ccm"
-
Add new segments to your theme. The segements are called
process
for showing the PIDs of running Cassandra processes andccm
for the selected ccm cluster. E.g.:
TMUX_POWERLINE_RIGHT_STATUS_SEGMENTS=(
"process 9 255"
"ccm 3 255"
"weather 31 255"
"time 39 0 ${TMUX_POWERLINE_SEPARATOR_LEFT_BOLD}"
)
```
- Start tmux! :)