commit 06434a49350a669263b7bc45e5210b5f3e699ced Author: spinach <19keegandeppe@gmail.com> Date: Wed Mar 8 12:39:51 2023 -0500 init diff --git a/device_battery.sh b/device_battery.sh new file mode 100755 index 0000000..708e246 --- /dev/null +++ b/device_battery.sh @@ -0,0 +1,186 @@ +#!/bin/bash + +# parses upower -e and grabs device/battery level + +usage() { + cat <