aboutsummaryrefslogtreecommitdiff
path: root/Scripts
diff options
context:
space:
mode:
authorKumar Damani <damani.kumar@gmail.com>2019-09-01 16:05:01 +0000
committerKumar Damani <damani.kumar@gmail.com>2019-09-01 16:05:01 +0000
commitbad72a6710ac3a8d78c98327d9b9f7e987751862 (patch)
treef00a316662259dd42106c1a5278c7caae617a8ff /Scripts
parentc177d2f6ecc7b91bdc5106b6178330adad878ac2 (diff)
latest dotfiles
Diffstat (limited to 'Scripts')
-rwxr-xr-xScripts/.config/Scripts/power.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/Scripts/.config/Scripts/power.sh b/Scripts/.config/Scripts/power.sh
new file mode 100755
index 0000000..dbcee8c
--- /dev/null
+++ b/Scripts/.config/Scripts/power.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+upower -i $(upower -e | grep BAT) | grep --color=never -E "state|to\ full|to\ empty|percentage"