Rainbarf is a small command-line utility that displays fancy system resource stats in the Tmux status line. It supports the following system resources:

  • CPU
  • RAM
  • Battery


To install Rainbarf, run the following commands in a terminal:

git clone https://github.com/creaktive/rainbarf.git
cd rainbarf
perl Build.PL
./Build test
./Build install

To enable rainbarf for Tmux, you need to add the following line to your ~/.tmux.conf file:

set -g status-right '#(rainbarf --battery --bolt --bright)'

Save the file, then issue the following command:

tmux source-file ~/.tmux.conf

Rainbarf offers various configuration options such as displaying the battery remaining time. To explore these options, please visit the project page @GitHub.