Commit graph

27 commits

Author SHA1 Message Date
Artur Tsuda
d075e4d048
Fix $used_mem when page size is not 4Kb 2021-08-10 17:02:34 -03:00
Sabato Luca Guadagno
87df275c6e get_tmux_option(), normalize_percent_len() in scripts/utils.sh
source scripts/utils.sh in dracula.sh, cpu_info.sh, gpu_usage.sh, ram_info.sh
normalize_percent_len for ram_info
custom labels for cpu-usage, gpu-usage, ram-usage
2021-07-06 11:21:21 +02:00
Sabato Luca Guadagno
151cd3e45f resolve #106, Bug: GiGB in RAM usage (Ubuntu) 2021-07-06 10:29:37 +02:00
Sabato Luca Guadagno
d00c245d4e consistent formatting across all scripts 2021-07-06 10:22:36 +02:00
Ethan Edwards
461ef98582
Merge pull request #79 from ethancedwards8/freebsd_support
FreeBSD support - Battery and Ram
2020-10-16 19:08:34 -04:00
Ethan Edwards
ca26328453
Fix Locale issue
Caused some users to have incorrect info because some text manipulation
tools were getting confused.
2020-10-16 18:38:29 -04:00
Max Drasbeck
764f267dbe
Reintroduced fix. 2020-09-12 07:27:32 +02:00
Max Drasbeck
8effb120dd
Revert to original. 2020-09-12 07:25:48 +02:00
Max Drasbeck
b2d99517d0
Added conditional for linux boxes with < 1 GB Ram 2020-09-12 00:12:38 +02:00
Ethan Edwards
cac4731e56 Cleaned up the Memory scripts by removing undeeded greps and using awk
This will speed up execution because bash only needs to call the awk
binary and not grep along with it.
2020-09-10 17:45:55 -04:00
Ethan Edwards
47fe175441 Merge branch 'master' of https://github.com/ethancedwards8/tmux into freebsd_support 2020-09-01 21:40:47 -04:00
Ethan Edwards
e2004baa51 added ram support 2020-09-01 21:24:39 -04:00
Ethan Edwards
b662f2e10d documentation 2020-08-10 08:04:51 -04:00
Ethan Edwards
e290571fee added the refresh rate by pulling from the .tmux.conf file and running
the get_tmux_option function and using that as the variable for the
refresh rate on sleep
2020-08-10 07:57:48 -04:00
Ethan Edwards
695a67531f init for refresh_rate NOT WORKING 2020-08-09 01:50:07 -04:00
Christopher Sardegna
8d52547025
Update ram_info.sh
Fix brace
2020-07-23 23:12:23 -04:00
Christopher Sardegna
15a078a7dd
Fix typo in shebang 2020-07-23 10:47:18 -04:00
Christopher Sardegna
633ab4776b
Fix reporting negative memory usage on MacOS 2020-07-23 10:45:49 -04:00
Ethan Edwards
0516471e72 mac compatability is working 2020-06-28 13:34:08 -04:00
Ethan Edwards
ac2f789ff4 Fixed reviews 2020-06-13 21:42:27 -04:00
Ethan Edwards
420eed6fd4 dont mind the commits, Im testing it on a mac, and editing and pushing
it from my desktop
2020-06-07 19:21:46 -04:00
Ethan Edwards
eeff7ec82d Trying to get this to work 2020-06-07 19:19:52 -04:00
Ethan Edwards
167260211a Found a nice lil trick 2020-06-07 19:16:55 -04:00
Ethan Edwards
8ba9b20152 realized the command i was trying to use was depreciated 2020-06-07 19:08:55 -04:00
Ethan Edwards
4cf72d94c3 I hope this works lol 2020-06-06 22:41:30 -04:00
Ethan Edwards
833baa9616 I think this will add Mac/Darwin support 2020-06-04 00:33:47 -04:00
Ethan Edwards
3d5a3cbb8f Added ram percentage support 2020-06-03 23:44:17 -04:00