tmux-power icon indicating copy to clipboard operation
tmux-power copied to clipboard

[Feature] Show load average in tmux status bar

Open lcheylus opened this issue 3 years ago • 2 comments

Hi, thanks for your awesome Tmux plugin.

I would like to show load average in me Tmux status bar via tmux-power plugin. Please, could you add a option to display it ?

The string to display Load average can be defined via simple shell (here with Bash) command :

uptime | rev | cut -d":" -f1 | rev | sed s/,//g => 0.35 0.64 0.75

lcheylus avatar Aug 10 '22 13:08 lcheylus

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 12 '22 08:10 stale[bot]

I had display of load average for tmux-power in tmux-power.tmux :

# tmux_set status-right "$RS"
# Add segment for load average
loadavg="#(uptime | rev | cut -d":" -f1 | rev | sed s/,//g)"
tmux_set status-right "#[fg=$TC,bg=$G05]Load: ${loadavg} $RS"

lcheylus avatar Oct 12 '22 10:10 lcheylus

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 16 '22 06:12 stale[bot]