From 95b3e4bb744932ce4eac14bb350cc0455d15848a Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sat, 16 Apr 2016 16:34:33 +0200 Subject: mv --- battery-charge | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 battery-charge (limited to 'battery-charge') diff --git a/battery-charge b/battery-charge new file mode 100755 index 0000000..9fd528f --- /dev/null +++ b/battery-charge @@ -0,0 +1,4 @@ +#!/bin/sh + +echo "$(acpi | cut -d ' ' -f 4 | sed 's|[%,]||g' | awk '{ total += $1; count++ } END { print total/count }')%" + -- cgit v1.2.3