From 0b50bfaefb2d117c2101f9b34d9fdf2b27d44f39 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Sun, 29 Mar 2015 11:29:09 +0200 Subject: quick --- ratpoison/panel/load | 2 +- ratpoison/panel/panel | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ratpoison/panel') diff --git a/ratpoison/panel/load b/ratpoison/panel/load index a1dbcdb..3977bee 100755 --- a/ratpoison/panel/load +++ b/ratpoison/panel/load @@ -1,6 +1,6 @@ #!/bin/bash while true; do -cpu=`mpstat -P ALL 10 1 | grep "Average.*all" | awk '{print $3+$5}'` +cpu=`mpstat -P ALL 2 1 | grep "Average.*all" | awk '{print $3+$5}'` mem=`free | grep Mem | awk '{print $3/$2 * 100.0}'` printf "C%.*f\n" 1 $cpu printf "R%.*f\n" 0 $mem diff --git a/ratpoison/panel/panel b/ratpoison/panel/panel index 377bc66..2c68f94 100755 --- a/ratpoison/panel/panel +++ b/ratpoison/panel/panel @@ -13,7 +13,7 @@ volume -f 'V%i' > "$PANEL_FIFO" & battery -i 60 -sf 'B%i' > "$PANEL_FIFO" & clock -i 60 -sf 'Z%d %a %H:%M' > "$PANEL_FIFO" & ./music > "$PANEL_FIFO" & -./load > "$PANEL_FIFO" & +#./load > "$PANEL_FIFO" & #essid -sf 'E%s' -i 30 -w wlp2s0 > "$PANEL_FIFO" & # ./signal > "$PANEL_FIFO" & -- cgit v1.2.3-54-g00ecf