diff options
author | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2015-02-12 19:45:58 +0100 |
---|---|---|
committer | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2015-02-12 19:45:58 +0100 |
commit | f7ac47a1102006842d074146237c756648478675 (patch) | |
tree | ebd106e074f56d94046fc06d7718b2fc31ea3386 /ratpoison/panel/cpu | |
parent | 504b3cc5d6cbc9ec66c5e89e3ecd4310c8dd5a69 (diff) | |
download | dotfiles-f7ac47a1102006842d074146237c756648478675.tar.gz dotfiles-f7ac47a1102006842d074146237c756648478675.tar.bz2 dotfiles-f7ac47a1102006842d074146237c756648478675.zip |
bspwm update
Diffstat (limited to 'ratpoison/panel/cpu')
-rwxr-xr-x | ratpoison/panel/cpu | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ratpoison/panel/cpu b/ratpoison/panel/cpu new file mode 100755 index 0000000..908f207 --- /dev/null +++ b/ratpoison/panel/cpu @@ -0,0 +1,5 @@ +while true; do +echo -n 'C' +ps -eo pcpu |grep -vE '^\s*(0.0|%CPU)' |sed -n '1h;$!H;$g;s/\n/ +/gp' | bc +sleep 2; +done |