Commit graph

10 commits

Author SHA1 Message Date
Nybkox
a5bee81d7a
chore: replace all dracula occurrences with kanagawa 2024-05-08 22:42:27 +02:00
Emma
43ee6f2cb0 replace bc usage with an awk floating point math limiting to 2 decimal places 2024-01-30 14:14:10 -08:00
Emma
509c2c114f update interface_bytes and get_bandwidth to support macOS as well 2024-01-30 13:27:39 -08:00
Emma
5f47b1644d add a way to detect network interface on macOS
- typically returns en0, or if a VPN is on it will most likely show one of the `utun` interfaces
2024-01-30 11:16:57 -08:00
Thomas Kurz
c03375f93e check for bc program and show info if not found 2023-10-01 10:35:42 +02:00
Adrien Kara
4bb5e56053
feat(network_bandwidth): add more configuration option
- Can auto detect used interface (only with linux ip for now)
- Can show the name of used interface
- A waiting interval can be set between each update

Signed-off-by: Adrien Kara <adrien@iglou.eu>
2023-01-06 19:46:04 +01:00
Adrien Kara
ac95b3e069
♻️ refactor(network_bandwidth): more flexibility and less spaghetti
- Use the internationally recommended unit symbol
- Commentary for next contributor
- Remove spaghetti code
- More flexible for future evolution

Signed-off-by: Adrien Kara <adrien@iglou.eu>
2023-01-06 13:19:31 +01:00
Marc
2f96680973
Show bandwidth in gB/s and mB/s when required 2021-10-10 04:44:40 +01:00
Marc
b3f05ca19d
Merge branch 'master' of github.com:dracula/tmux into fix-bandwidth-typo 2021-10-10 00:25:43 +01:00
Marc
c558b6b024
Fix typos in network_bandwith -> network_bandwidth 2021-09-13 22:00:18 +01:00
Renamed from scripts/network_bandwith.sh (Browse further)