added bat script
authorMatthew Owens <matthew@owens.tech>
Thu, 30 Jul 2020 09:20:05 +0000 (10:20 +0100)
committerMatthew Owens <matthew@owens.tech>
Thu, 30 Jul 2020 09:20:05 +0000 (10:20 +0100)
bat [new file with mode: 0755]

diff --git a/bat b/bat
new file mode 100755 (executable)
index 0000000..ccfa885
--- /dev/null
+++ b/bat
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+acpi | awk '{sum+=$4} END {print sum/NR,"%"}'