Commit graph

119 commits

Author SHA1 Message Date
Casper da Costa-Luis bcb110d754
Merge pull request #90 from johnnymatthews/master
Some checks failed
Check / lint (push) Has been cancelled
Adds MacOS-specfic `ps aux` command.
2024-10-06 20:54:38 +01:00
Casper da Costa-Luis d11d0b6c7a
ps -aux => ps aux 2024-10-06 20:53:57 +01:00
johnnymatthews 88fbb1f21f Adds MacOS-specfic ps aux command.
Potentially closes https://github.com/tmux-plugins/tmux-cpu/issues/89
2024-08-31 11:48:03 -03:00
Casper da Costa-Luis 98d787191b
Merge pull request #83 from pacien/helpers-cache-atomic-write-fix 2023-01-06 09:09:29 +05:30
pacien f609bed961 helpers: fix non-atomic cache write
This was causing some values to be repeated more than once when using
multiple tmux windows at the same time, for example for the RAM
percentage in ram_percentage.sh.

GitHub: fixes #62
2023-01-05 21:24:47 +01:00
Phu Ninh 9eb3dba666
fix gram_percentage.sh when showing ram usage of multi GPUs (#76) 2021-12-15 11:57:54 +00:00
Casper da Costa-Luis 8f52392712
fix errors
- fixes #72 linting errors
2021-10-28 23:15:07 +01:00
Camille TJHOA 00ab1d2cda
Add CI linting (#72)
Co-authored-by: Casper da Costa-Luis <casper.dcl@physics.org>
2021-10-23 18:18:55 +01:00
Camille TJHOA 86c0023473 Fix load_status helper (#70)
load_status helper was based on cpu threshold whatever this percentage represents
2021-10-23 17:46:44 +01:00
Casper da Costa-Luis 9f404e0e0b
Merge pull request #69 from jdelkins/master
When getting a tmux option, first check session option
2021-04-07 20:46:05 +01:00
Joel D. Elkins 4a6708ac8c
When getting a tmux option, first check session option
It seems logical to check session options, failing which, then, check
global options. This allows, for example, per-session customization of
the color tmux variables.
2021-04-06 21:52:57 -05:00
Casper da Costa-Luis 99e7ef7fe8
Merge remote-tracking branch 'origin/temp_unit' 2021-02-12 18:20:35 +00:00
Casper da Costa-Luis 88ba243189
cpu_temp: support AMD Ryzen
- fixes #66
2021-02-12 16:14:41 +00:00
Casper da Costa-Luis 3e18060d85
add gpu_temp_unit
- fixes #66
2021-02-12 15:50:03 +00:00
Casper da Costa-Luis ebd8ff488b
correct @cpu_temp_units -> @cpu_temp_unit
- #66
2021-02-12 15:38:15 +00:00
Casper da Costa-Luis 8a2918638f
Merge pull request #65 from Frederick888/compat-no-nproc
read from /proc/cpuinfo when `nproc` doesn't exist
2021-01-11 13:09:34 +00:00
Frederick Zhang 422e99d7b0
read from /proc/cpuinfo when nproc doesn't exist 2021-01-11 23:36:15 +11:00
Casper da Costa-Luis 8dbb2cde84
Merge pull request #64 from tmux-plugins/temp_fg_col
fix temperature fg colours
2021-01-02 15:00:38 +00:00
Casper da Costa-Luis 9ba9badbbc
fix temperature fg colours
- fixes #63
2021-01-02 14:59:22 +00:00
Casper da Costa-Luis 72289570d0
Merge pull request #61 from tmux-plugins/temperature 2020-10-20 16:55:10 +01:00
Casper da Costa-Luis bea81776ad
review comment update 2020-10-20 15:33:40 +01:00
Casper da Costa-Luis 824b37203a
variable rename 2020-10-18 13:21:14 +01:00
Casper da Costa-Luis a39fa178a8
much improve such documentation very 2020-10-18 01:02:05 +01:00
Casper da Costa-Luis e6eeec5c57
add GPU temperatures too 2020-10-18 00:45:31 +01:00
Casper da Costa-Luis 504844aade
tidy scripts code 2020-10-18 00:30:39 +01:00
Casper da Costa-Luis 55f127ee28
document temperatures 2020-10-18 00:16:41 +01:00
Casper da Costa-Luis 13a7844f57
add temp icons & colours 2020-10-18 00:11:23 +01:00
Casper da Costa-Luis 1d27247757
initial cpu_temp 2020-10-17 23:55:29 +01:00
Casper da Costa-Luis a646196686
Merge pull request #60 from tmux-plugins/fix-lang
fix LANG-related format errors
2020-10-06 12:26:45 +01:00
Casper da Costa-Luis cdad9a9ebc
fix LANG-related format errors
- fixes #59
2020-10-02 21:54:02 +01:00
Casper da Costa-Luis d2b0f1c70e
Update README.md
syntax highlighting; add maintainer
2020-08-30 17:37:36 +01:00
Casper da Costa-Luis 52aa4633e3
Merge pull request #58 from spywhere/replace-all 2020-08-25 13:56:21 +01:00
Sirisak Lueangsaksri 5902da209e allow pattern to be reused multiple times 2020-08-25 16:47:26 +07:00
Casper da Costa-Luis c3c8992e4c
Merge pull request #57 from yutakatay/custom-thresholds 2020-08-11 11:01:08 +01:00
Casper da Costa-Luis 08d029443f
standardise naming & document defaults 2020-08-09 11:51:58 +01:00
Yuta Katayama de5bd9cf04 add options to customize the threshold 2020-08-09 15:15:54 +09:00
Casper da Costa-Luis 20120a38ad
Merge pull request #56 from tmux-plugins/cached_eval 2020-07-25 11:12:41 +01:00
Casper da Costa-Luis 3dcfbd23f4
increase cache time precision 2020-07-20 17:01:49 +01:00
Casper da Costa-Luis dd6a8c4c2b
safer tmpdir
may fix cygwin/osx
2020-07-20 17:01:47 +01:00
Casper da Costa-Luis b8d75f6000
add cached eval
- fixes #27
- related #15
- related #5
2020-07-10 00:22:16 +01:00
Casper da Costa-Luis f540f07acf
fix memory on non-en systems again
Merge pull request #50 from ms-jpq/master
2020-04-25 23:00:38 +01:00
Casper da Costa-Luis f1eaa3ec47
fix 80% considered "low" rather than "high"
Merge pull request #49 from hhiraba/fix-load-status
2020-04-25 14:46:46 +01:00
mushroom 5feb1185be
fix issue with localization 2020-04-24 20:21:17 -07:00
hhiraba 1ae1ced027 Fix fcomp to modify load_status behavior 2020-04-24 07:57:19 +09:00
Casper da Costa-Luis 1d53845171
Merge branch 'sonnmar/master'
Closes #48
2020-04-18 17:30:03 +01:00
sonnmar 069c3651b2 fix calculation of ram percentage with vm_stat 2020-04-17 20:34:23 +02:00
Casper da Costa-Luis 8858050756
Merge pull request #46 from vinipsmaker/patch-1
Fix ram_percentage.sh script when running on non-US locales
2020-04-05 19:50:04 +01:00
Casper da Costa-Luis cec25d97ae
minor extra resilliency 2020-04-05 19:47:41 +01:00
Vinícius dos Santos Oliveira 60b41ab019
Fix ram_percentage.sh script when running on non-US locales 2020-04-04 19:16:04 -03:00
Casper da Costa-Luis 2d43413c92
Merge pull request #45 from Filriya/macos_ram_percentage
Enable ram_percentage on macos
2020-04-02 12:36:31 +01:00