From e2cc54ab6a6ffd442b8fb2c8b2d3f558eec03fbc Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Sat, 24 Jan 2015 15:30:25 +0100 Subject: average battery --- .ratpoisonrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.ratpoisonrc') diff --git a/.ratpoisonrc b/.ratpoisonrc index 2783c14..f71d2e1 100644 --- a/.ratpoisonrc +++ b/.ratpoisonrc @@ -15,7 +15,7 @@ bind Return exec urxvtc --saveLines 800 unbind c bind C exec /home/pks/bin/chromium bind D exec urxvt -fn 'xft:courier:pixelsize=16' -fg #000000 -bg #ffffff -bind b exec ratpoison -c "echo $(acpi -V | grep Battery | head -1)" +bind b exec ratpoison -c "echo $(avg_batt)" bind s hsplit bind S split bind q only -- cgit v1.2.3