Skip to content

Commit

Permalink
Added instructions to README
Browse files Browse the repository at this point in the history
  • Loading branch information
lmartinking committed Mar 24, 2011
1 parent 40b47f1 commit 35d9f19
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,21 @@
------------
tmux-applets tmux-applets
------------ ------------


* tmux-cpu-freq - show cpu frequencies as coloured bars * tmux-cpu-freq - show cpu frequencies as coloured bars


tmux-cpu-freq
-------------

Usage (in ~/.tmux.conf):
set-status-right "#(/path/to/tmux-cpu-freq <number-of-cpus>)"
set-status-interval 1

Or, you can edit NUMBER_CPUS in tmux-cpu-freq.c before compiling it.

You can also customise the colours by editing the level_colours array,
and adjusting MAX_LEVEL_COLOURS if need be.

The reason this configuration is static is since tmux must run the applet
every frequency interval, thus speed is paramount.

0 comments on commit 35d9f19

Please sign in to comment.