-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
40b47f1
commit 35d9f19
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |