aboutsummaryrefslogtreecommitdiff
path: root/home/.config/i3/status/load
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2018-03-31 20:24:53 -0700
committerJakob Odersky <jakob@odersky.com>2018-03-31 20:24:53 -0700
commit186501c9d9a78686ea492e48172c27d40e1a3f84 (patch)
treec6745923637e661884d11b0768f50fc6268b5b90 /home/.config/i3/status/load
parent25ea926b955bde66f2618c591d05a4e77549fc91 (diff)
downloaddotfiles-186501c9d9a78686ea492e48172c27d40e1a3f84.tar.gz
dotfiles-186501c9d9a78686ea492e48172c27d40e1a3f84.tar.bz2
dotfiles-186501c9d9a78686ea492e48172c27d40e1a3f84.zip
Update i3 config
Diffstat (limited to 'home/.config/i3/status/load')
-rwxr-xr-xhome/.config/i3/status/load13
1 files changed, 1 insertions, 12 deletions
diff --git a/home/.config/i3/status/load b/home/.config/i3/status/load
index 5518e2f..2701bce 100755
--- a/home/.config/i3/status/load
+++ b/home/.config/i3/status/load
@@ -24,17 +24,6 @@ awk -v cpus=$cpus -v cpuload=$load '
load_percent=(cpuload*100)/cpus
print cpuload
print cpuload
- if (load_percent < 10) {
- exit 0;
- } else if (load_percent < 50) {
- print "#00ff00";
- exit 0;
- } else if (load_percent < 80) {
- print "#ffff00";
- exit 0;
- } else {
- print "#ff0000";
- exit 0;
- }
+ exit 0
}
'