diff options
author | Jakob Odersky <jakob@odersky.com> | 2018-03-31 20:24:53 -0700 |
---|---|---|
committer | Jakob Odersky <jakob@odersky.com> | 2018-03-31 20:24:53 -0700 |
commit | 186501c9d9a78686ea492e48172c27d40e1a3f84 (patch) | |
tree | c6745923637e661884d11b0768f50fc6268b5b90 /home/.config/i3/status/load | |
parent | 25ea926b955bde66f2618c591d05a4e77549fc91 (diff) | |
download | dotfiles-186501c9d9a78686ea492e48172c27d40e1a3f84.tar.gz dotfiles-186501c9d9a78686ea492e48172c27d40e1a3f84.tar.bz2 dotfiles-186501c9d9a78686ea492e48172c27d40e1a3f84.zip |
Update i3 config
Diffstat (limited to 'home/.config/i3/status/load')
-rwxr-xr-x | home/.config/i3/status/load | 13 |
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 } ' |