Commit graph

12 commits

Author SHA1 Message Date
itzTanos29 6b0f365a86 Avoid variable length load average array 2026-06-22 13:06:40 -04:00
henry.potgieter f9663c8f2f Add options to allow embedding tmux-mem-cpu-load segments within/beside other segments 2023-03-27 11:11:55 -04:00
Matt McCormick 8c2f0e2cfd Use consistent precision for load output
Reduce variations in output.
2021-08-03 18:29:09 -04:00
Matt McCormick 6960e27dc4 Implement --powerline-left 2016-07-31 21:57:56 -04:00
Compilenix 97a655c856 cleanup 2016-04-28 22:27:19 +02:00
Compilenix 1d1a516eda added averages-count option 2016-04-28 22:05:43 +02:00
Michał Goliński bac831cd69 Code refactoring for merging
- license header in new files
- changed "powerline" into "powerline-right"
- added braces around one-liners
- small fixes concerning whitespace
2016-04-14 12:30:20 +02:00
Michał Goliński cc59b4952f Powerline support 2016-03-05 11:19:31 +01:00
Matt McCormick 557528b946 Merge pull request #25 from jasperla/ws
Don't print trailing whitespace for last element
2015-04-02 09:49:51 -04:00
Matt McCormick a8367d7f86 Fix color of space preceding the load.
The color preceding of the space preceding the load is
made to be consistent with the load color instead of the default. This is
consistent with the CPU percentage color and easier to read.
2015-04-02 09:37:58 -04:00
Jasper Lievisse Adriaanse 512185a6b3 Don't print trailing whitespace for last element
it's easier to add it in your tmux.conf, then it's to remove it.
2015-04-02 15:35:16 +02:00
Pawel "l0ner" Soltys 87cc9b1ce8 Code Refactoring part 2: unified load_string() function on all platforms
All the platforms were using identical logic based on getloadavg() function to
get the load avg stats (except linux, which was using sinfo struct, but can use getloadavg() function). I've noticed this while working on NetBSD port.

Also: fixed a typo on freebsd.
2015-02-19 21:26:35 +01:00
Renamed from freebsd/load.cc (Browse further)