aboutsummaryrefslogtreecommitdiff
path: root/.scripts/charging_status.sh
diff options
context:
space:
mode:
Diffstat (limited to '.scripts/charging_status.sh')
-rwxr-xr-x.scripts/charging_status.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/.scripts/charging_status.sh b/.scripts/charging_status.sh
new file mode 100755
index 0000000..24c09e7
--- /dev/null
+++ b/.scripts/charging_status.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+acpi -b | awk '{print $3}' | sed 's/,//' | tr -d '\n'