aboutsummaryrefslogtreecommitdiff
path: root/screen/batinfo
diff options
context:
space:
mode:
Diffstat (limited to 'screen/batinfo')
-rwxr-xr-xscreen/batinfo13
1 files changed, 0 insertions, 13 deletions
diff --git a/screen/batinfo b/screen/batinfo
deleted file mode 100755
index 3366c1f..0000000
--- a/screen/batinfo
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-#batinfo
-stat=` acpi | tr -s , | cut -d -f4 `
-pct=` acpi | tr -s , | cut -d -f5 `
-
-color="^E{k.}"
-case $stat in
- discharging) color="^E{kr}" ;;
- charging) color="^E{kg}" ;;
- *) color="^E{k.}" ;;
-esac
-
-echo "$color$pct^E{-}($color$stat^E{-})"