From f7ac47a1102006842d074146237c756648478675 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Thu, 12 Feb 2015 19:45:58 +0100 Subject: bspwm update --- ratpoison/panel/cpu | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 ratpoison/panel/cpu (limited to 'ratpoison/panel/cpu') 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 -- cgit v1.2.3-54-g00ecf