summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2021-11-06 20:56:12 -0700
committerMike Crute <mike@crute.us>2021-11-06 20:56:12 -0700
commitdef3f0a3e02e19536ca7e9f1f9cac5411e809120 (patch)
tree8d2340879d1c7009116d9f3a48a029401bfa4997 /bin
parenta291adacf6ca679ac578ec0744c936698c87cc9e (diff)
downloaddotfiles-def3f0a3e02e19536ca7e9f1f9cac5411e809120.tar.bz2
dotfiles-def3f0a3e02e19536ca7e9f1f9cac5411e809120.tar.xz
dotfiles-def3f0a3e02e19536ca7e9f1f9cac5411e809120.zip
Convert tmux load avg to python
Diffstat (limited to 'bin')
-rwxr-xr-xbin/tmux-load-avg.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/tmux-load-avg.py b/bin/tmux-load-avg.py
new file mode 100755
index 0000000..ec0869e
--- /dev/null
+++ b/bin/tmux-load-avg.py
@@ -0,0 +1,5 @@
1#!/usr/bin/env python2.7
2
3import os
4
5print(round(os.getloadavg()[0], 2))