From b0878f91c4ab2a8a61c524084ac6db702971b426 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Sat, 24 Jan 2015 15:29:54 +0100 Subject: average battery --- avg_batt | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 avg_batt (limited to 'avg_batt') diff --git a/avg_batt b/avg_batt new file mode 100755 index 0000000..e7afeee --- /dev/null +++ b/avg_batt @@ -0,0 +1,4 @@ +#!/bin/sh + +echo "$(acpi | cut -d' ' -f4|sed 's|%||'|avg|round 0)%" + -- cgit v1.2.3